blob: 9ebff05b205949e244a45dae4aa74990a85d5b30 [file] [log] [blame]
// Copyright 2016 The Fuchsia Authors
// Copyright (c) 2013 Google, Inc.
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
#ifndef ZIRCON_KERNEL_LIB_VERSION_INCLUDE_LIB_VERSION_H_
#define ZIRCON_KERNEL_LIB_VERSION_INCLUDE_LIB_VERSION_H_
#include <stdio.h>
// This is the string returned by zx_system_get_version_string.
const char* version_string();
// This is a string of lowercase hexadecimal digits.
const char* elf_build_id_string();
void print_version(void);
// Prints symbolizer markup context elements for the kernel.
void PrintSymbolizerContext(FILE*);
// Prints version info and kernel mappings required to interpret backtraces.
void print_backtrace_version_info(void);
#endif // ZIRCON_KERNEL_LIB_VERSION_INCLUDE_LIB_VERSION_H_