Messages in this thread Patch in this message | | | Date | Mon, 3 Mar 2014 15:59:42 -0500 | From | Steven Rostedt <> | Subject | Re: [PATCH 3/3] tracing: introduce a trace_data_offset struct to store array size |
| |
On Mon, 3 Mar 2014 15:48:26 -0500 Steven Rostedt <rostedt@goodmis.org> wrote:
> without patch: > > pst2pdf-3506 [000] 120.700910: sched_process_exec: filename=/usr/bin/pst2pdf pid=3506 old_pid=3506 > > > With patch: > > pstopnm-4432 [001] 1490.246765: sched_process_exec: filename= pid=4432 old_pid=4432
Now, after applying the following patch to your patch, I was able to get this again:
pst2pdf-3512 [000] 99.693582: sched_process_exec: filename=/usr/bin/pst2pdf pid=3512 old_pid=3512
-- Steve
diff --git a/include/linux/ftrace_event.h b/include/linux/ftrace_event.h index 67e4122..2c6d1b0 100644 --- a/include/linux/ftrace_event.h +++ b/include/linux/ftrace_event.h @@ -124,8 +124,13 @@ struct trace_event { }; struct trace_array_offset { +#ifdef __BIG_ENDIAN + u16 length; + u16 offset; +#else u16 offset; u16 length; +#endif }; extern int register_ftrace_event(struct trace_event *event);
| |