RTEMS CPU Kit with SuperCore
Data Structures | Macros | Typedefs | Variables
main_rtrace.c File Reference
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <time.h>
#include <unistd.h>
#include <rtems/shell.h>
#include <rtems/trace/rtems-trace-buffer-vars.h>
Include dependency graph for main_rtrace.c:

Data Structures

struct  rtems_trace_buffering_shell_cmd_t
 Table of handlers we parse to invoke the command. More...
 

Macros

#define SAVE_BUF_SIZE   (1024)
 
#define RTEMS_TRACE_BUFFERING_COMMANDS   (sizeof (table) / sizeof (const rtems_trace_buffering_shell_cmd_t))
 

Typedefs

typedef int(* rtems_trace_buffering_shell_handler_t) (int argc, char *argv[])
 The type of the shell handlers we have.
 

Variables

rtems_shell_cmd_t rtems_shell_RTRACE_Command
 

Variable Documentation

◆ rtems_shell_RTRACE_Command

rtems_shell_cmd_t rtems_shell_RTRACE_Command
Initial value:
= {
"rtrace",
"rtrace [-l]",
"misc",
rtems_shell_main_rtrace,
NULL,
NULL
}