[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1328278061.5882.144.camel@gandalf.stny.rr.com>
Date: Fri, 03 Feb 2012 09:07:41 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Jiri Olsa <jolsa@...hat.com>
Cc: Frederic Weisbecker <fweisbec@...il.com>, mingo@...hat.com,
paulus@...ba.org, acme@...stprotocols.net, a.p.zijlstra@...llo.nl,
linux-kernel@...r.kernel.org, aarapov@...hat.com
Subject: Re: [PATCH 5/7] ftrace, perf: Add support to use function
tracepoint in perf
On Fri, 2012-02-03 at 14:00 +0100, Jiri Olsa wrote:
> and use FTRACE_ENTRY_REG for ftrace event like:
>
> FTRACE_ENTRY_REG(function, ftrace_entry,
> TRACE_FN,
> F_STRUCT(
> __field( unsigned long, ip )
> __field( unsigned long, parent_ip )
> ),
> F_printk(" %lx <-- %lx", __entry->ip, __entry->parent_ip),
> perf_ftrace_event_register
> );
This should be fine.
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists