]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
tracing: add ftrace headers to event format files
authorSteven Rostedt <srostedt@redhat.com>
Mon, 2 Mar 2009 20:03:01 +0000 (15:03 -0500)
committerSteven Rostedt <srostedt@redhat.com>
Mon, 2 Mar 2009 20:03:01 +0000 (15:03 -0500)
commit91729ef96661bfa7dc53923746cd90b62d5495cc
tree421dcc26559806162b911e09a47f82012833ab89
parent981d081ec8b958b7d962ee40d433581a55d40fc5
tracing: add ftrace headers to event format files

This patch includes the ftrace header to the event formats files:

 # cat /debug/tracing/events/sched/sched_switch/format
        field:unsigned char type;       offset:0;       size:1;
        field:unsigned char flags;      offset:1;       size:1;
        field:unsigned char preempt_count;      offset:2;       size:1;
        field:int pid;  offset:4;       size:4;
        field:int tgid; offset:8;       size:4;

        field:pid_t prev_pid;   offset:12;      size:4;
        field:int prev_prio;    offset:16;      size:4;
        field special:char next_comm[TASK_COMM_LEN];    offset:20;      size:16;
        field:pid_t next_pid;   offset:36;      size:4;
        field:int next_prio;    offset:40;      size:4;

A blank line is used as a deliminator between the ftrace header and the
trace point fields.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
kernel/trace/trace_events.c