Motr  M0
m0_trace_rec_header Struct Reference

#include <trace.h>

Collaboration diagram for m0_trace_rec_header:
Collaboration graph

Data Fields

uint64_t trh_magic
 
uint64_t trh_sp
 
uint64_t trh_no
 
uint64_t trh_pos
 
uint64_t trh_timestamp
 
const struct m0_trace_descrtrh_descr
 
uint32_t trh_string_data_size
 
uint32_t trh_record_size
 
pid_t trh_pid
 

Detailed Description

Record header structure

  • magic number to locate the record in buffer
  • stack pointer - useful to distinguish between threads
  • global record number
  • timestamp
  • pointer to record description in the program file

Definition at line 437 of file trace.h.

Field Documentation

◆ trh_descr

const struct m0_trace_descr* trh_descr

Definition at line 445 of file trace.h.

◆ trh_magic

uint64_t trh_magic

Definition at line 440 of file trace.h.

◆ trh_no

uint64_t trh_no

record #

Definition at line 442 of file trace.h.

◆ trh_pid

pid_t trh_pid

current PID

Definition at line 448 of file trace.h.

◆ trh_pos

uint64_t trh_pos

abs record pos in logbuf

Definition at line 443 of file trace.h.

◆ trh_record_size

uint32_t trh_record_size

total record size

Definition at line 447 of file trace.h.

◆ trh_sp

uint64_t trh_sp

stack pointer

Definition at line 441 of file trace.h.

◆ trh_string_data_size

uint32_t trh_string_data_size

Definition at line 446 of file trace.h.

◆ trh_timestamp

uint64_t trh_timestamp

Definition at line 444 of file trace.h.


The documentation for this struct was generated from the following file: