lkml.org 
[lkml]   [2012]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCHv9 0/7] ftrace, perf: Adding support to use function trace
Date
hi,
here's another version of perf support for function trace
with filter.

attached patches:
- 1/7 ftrace: Add enable/disable ftrace_ops control interface
- 2/7 ftrace, perf: Add open/close tracepoint perf registration actions
- 3/7 ftrace, perf: Add add/del tracepoint perf registration actions
- 4/7 ftrace: Add FTRACE_ENTRY_REG macro to allow event registration
- 5/7 ftrace, perf: Add support to use function tracepoint in perf
- 6/7 ftrace: Allow to specify filter field type for ftrace events
- 7/7 ftrace, perf: Add filter support for function trace event

v9 changes:
fixed patches 5/7 and 7/7 to work with disabled options:
CONFIG_FUNCTION_TRACER, CONFIG_DYNAMIC_FTRACE

thanks,
jirka
---
include/linux/ftrace.h | 77 +++++++++++++-
include/linux/ftrace_event.h | 9 ++-
include/linux/perf_event.h | 3 +
kernel/trace/ftrace.c | 132 ++++++++++++++++++++---
kernel/trace/trace.h | 38 +++++--
kernel/trace/trace_entries.h | 54 +++++++---
kernel/trace/trace_event_perf.c | 208 ++++++++++++++++++++++++++++-------
kernel/trace/trace_events.c | 12 ++-
kernel/trace/trace_events_filter.c | 168 ++++++++++++++++++++++++++++-
kernel/trace/trace_export.c | 64 ++++++++----
kernel/trace/trace_kprobe.c | 8 ++-
kernel/trace/trace_syscalls.c | 18 +++-
12 files changed, 671 insertions(+), 120 deletions(-)

\
 
 \ /
  Last update: 2012-02-15 15:55    [from the cache]
©2003-2011 Jasper Spaans