GDB (API)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/ctf.c File Reference
#include "defs.h"
#include "ctf.h"
#include "tracepoint.h"
#include "regcache.h"
#include "gdb_stat.h"
#include "exec.h"
#include "completer.h"
#include <ctype.h>

Go to the source code of this file.

Defines

#define CTF_MAGIC   0xC1FC1FC1
#define CTF_SAVE_MAJOR   1
#define CTF_SAVE_MINOR   8
#define CTF_METADATA_NAME   "metadata"
#define CTF_DATASTREAM_NAME   "datastream"
#define CTF_EVENT_ID_REGISTER   0
#define CTF_EVENT_ID_TSV   1
#define CTF_EVENT_ID_MEMORY   2
#define CTF_EVENT_ID_FRAME   3
#define CTF_EVENT_ID_STATUS   4
#define CTF_EVENT_ID_TSV_DEF   5
#define CTF_EVENT_ID_TP_DEF   6
#define ctf_save_write_uint32(HANDLER, U32)   ctf_save_write (HANDLER, (gdb_byte *) &U32, 4)
#define ctf_save_write_int32(HANDLER, INT32)   ctf_save_write ((HANDLER), (gdb_byte *) &(INT32), 4)
#define HOST_ENDIANNESS   "le"
#define CTF_FILE_MIN_SIZE   4096

Functions

struct trace_file_writerctf_trace_file_writer_new (void)
void _initialize_ctf (void)

Variables

initialize_file_ftype _initialize_ctf

Define Documentation

#define CTF_DATASTREAM_NAME   "datastream"

Definition at line 67 of file ctf.c.

#define CTF_EVENT_ID_FRAME   3

Definition at line 74 of file ctf.c.

#define CTF_EVENT_ID_MEMORY   2

Definition at line 73 of file ctf.c.

#define CTF_EVENT_ID_REGISTER   0

Definition at line 71 of file ctf.c.

#define CTF_EVENT_ID_STATUS   4

Definition at line 75 of file ctf.c.

#define CTF_EVENT_ID_TP_DEF   6

Definition at line 77 of file ctf.c.

#define CTF_EVENT_ID_TSV   1

Definition at line 72 of file ctf.c.

#define CTF_EVENT_ID_TSV_DEF   5

Definition at line 76 of file ctf.c.

#define CTF_FILE_MIN_SIZE   4096

Definition at line 635 of file ctf.c.

#define CTF_MAGIC   0xC1FC1FC1

Definition at line 62 of file ctf.c.

#define CTF_METADATA_NAME   "metadata"

Definition at line 66 of file ctf.c.

#define CTF_SAVE_MAJOR   1

Definition at line 63 of file ctf.c.

#define CTF_SAVE_MINOR   8

Definition at line 64 of file ctf.c.

#define ctf_save_write_int32 (   HANDLER,
  INT32 
)    ctf_save_write ((HANDLER), (gdb_byte *) &(INT32), 4)

Definition at line 135 of file ctf.c.

#define ctf_save_write_uint32 (   HANDLER,
  U32 
)    ctf_save_write (HANDLER, (gdb_byte *) &U32, 4)

Definition at line 129 of file ctf.c.

#define HOST_ENDIANNESS   "le"

Function Documentation

void _initialize_ctf ( void  )

Definition at line 1857 of file ctf.c.

struct trace_file_writer* ctf_trace_file_writer_new ( void  ) [read]

Definition at line 861 of file ctf.c.


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines