Skip to content

ftrace perf: Fixes and speedup

Jiri Olsa lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 15 repliesIn review
  2. v1 RFC5 patches 14 repliesSuperseded

Changes in v2 from the cover letter

- added comment requested by Steven
- changed patch 1 according to Namhyung's suggestion

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ftrace perf: Check sample types only for sampling eventskernel/trace/trace_event_perf.c+3 -01 reply
2/5ftrace perf: Move exclude_kernel tracepoint check to init eventkernel/events/core.c kernel/trace/trace_event_perf.c+25 -57 replies
3/5ftrace perf: Use ftrace_ops::private to store event pointerinclude/linux/perf_event.h kernel/events/core.c kernel/trace/trace_event_perf.c+28 -74 replies
4/5ftrace: Make ftrace_hash_rec_enable return update boolkernel/trace/ftrace.c+17 -101 reply
5/5ftrace: Update dynamic ftrace calls only if necessarykernel/trace/ftrace.c+5 -52 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchNamhyung KimSteven Rostedt
1/5A-b
2/5A-b A-b
3/5A-b A-b
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCHv2 0/5] ftrace perf: Fixes and speedup

hi,
sending some small perf related fixes plus one change to speedup ftrace:function perf registration.

v2 changes:
- added comment requested by Steven
- changed patch 1 according to Namhyung's suggestion

Also available in here:
git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
ftrace/fixes

thanks,
jirka
---
Jiri Olsa (5):
ftrace perf: Check sample types only for sampling events ftrace perf: Move exclude_kernel tracepoint check to init event ftrace perf: Use ftrace_ops::private to store event pointer
ftrace: Make ftrace_hash_rec_enable return update bool
ftrace: Update dynamic ftrace calls only if necessary

 include/linux/perf_event.h      |  3 +++
 kernel/events/core.c            | 27 ++++++++++++++++++++++-----
 kernel/trace/ftrace.c           | 37 ++++++++++++++++++++++---------------
 kernel/trace/trace_event_perf.c | 38 +++++++++++++++++++++++++++++++-------
 4 files changed, 78 insertions(+), 27 deletions(-)