RTEMS 7.0-rc1
Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Variables
main_rtrace.c File Reference

rtrace Shell Command Implementation More...

#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <time.h>
#include <unistd.h>
#include <rtems/shell.h>
#include <rtems/trace/rtems-trace-buffer-vars.h>

Data Structures

struct  rtems_trace_buffering_shell_cmd_t
 

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[])
 

Variables

rtems_shell_cmd_t rtems_shell_RTRACE_Command
 

Detailed Description

rtrace Shell Command Implementation

Typedef Documentation

◆ rtems_trace_buffering_shell_handler_t

typedef int(* rtems_trace_buffering_shell_handler_t) (int argc, char *argv[])

The type of the shell handlers we have.

Variable Documentation

◆ rtems_shell_RTRACE_Command

rtems_shell_cmd_t rtems_shell_RTRACE_Command
Initial value:
= {
.name = "rtrace",
.usage = "rtrace [-l]",
.topic = "misc",
.command = rtems_shell_main_rtrace,
.alias = NULL,
.next = NULL
}