#include <cstdint>#include <cstddef>#include <cstdarg>#include <cstdlib>#include <sys/types.h>#include <stdio.h>Go to the source code of this file.
Namespaces | |
| namespace | os |
| System namespace. | |
| namespace | os::trace |
| Tracing support namespace. | |
Functions | |
| void | os::trace::dbg_bkpt (void) |
| Insert a BKPT0 for debugger usage. | |
| void | os::trace::dump_args (int argc, char *argv[]) |
| Write the argv[] array to the trace device. | |
| void | os::trace::flush (void) |
| Flush the output. | |
| void | os::trace::initialize (void) |
| int | os::trace::printf (const char *format,...) |
| Write a formatted string to the trace device. | |
| int | os::trace::putchar (int c) |
| Write the single character to the trace device. | |
| int | os::trace::puts (const char *s) |
| Write the string and a line terminator to the trace device. | |
| void | trace_dbg_bkpt (void) |
| Insert a BKPT0 for debugger usage. | |
| void | trace_dump_args (int argc, char *argv[]) |
| void | trace_flush (void) |
| void | trace_initialize (void) |
| int | trace_printf (const char *format,...) |
| int | trace_putchar (int c) |
| int | trace_puts (const char *s) |
| int | trace_vprintf (const char *format, va_list args) |
| ssize_t | trace_write (const void *buf, size_t nbyte) |
| int | os::trace::vprintf (const char *format, std::va_list args) |
| Write a formatted variable arguments list to the trace device. | |
| ssize_t | os::trace::write (const void *buf, std::size_t nbyte) |
| Write the given number of bytes to the trace output channel. | |
|
inline |
Definition at line 50 of file trace.h.
Referenced by os::trace::dbg_bkpt().
| void trace_dump_args | ( | int | argc, |
| char * | argv[] | ||
| ) |
| void trace_flush | ( | void | ) |
Definition at line 177 of file trace.cpp.
References os::trace::flush().
Referenced by _Exit().
| void trace_initialize | ( | void | ) |
Called from startup.
Definition at line 165 of file trace.cpp.
References os::trace::initialize().
Referenced by _start().
| int trace_printf | ( | const char * | format, |
| ... | |||
| ) |
| int trace_putchar | ( | int | c | ) |
Referenced by os_rtc_handler().
| int trace_puts | ( | const char * | s | ) |
Referenced by __cxa_pure_virtual(), __gnu_cxx::__verbose_terminate_handler(), _start(), and abort().
| int trace_vprintf | ( | const char * | format, |
| va_list | args | ||
| ) |
| ssize_t trace_write | ( | const void * | buf, |
| size_t | nbyte | ||
| ) |
Referenced by __posix_write().