Skip to content

tracing: fprobe: optimization for entry only case

Menglong Dong linux-trace-kernel lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 1 replyIn review
  2. v32 patches 0 repliesSuperseded
  3. v22 patches 4 repliesSuperseded

Changes in v4 from the cover letter

* fallback to fgraph if FTRACE_OPS_FL_SAVE_REGS not supported

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tracing: fprobe: optimization for entry only casekernel/trace/fprobe.c+119 -91 reply
2/2lib/test_fprobe: add testcase for mixed fprobelib/tests/test_fprobe.c+98 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/2] tracing: fprobe: optimization for entry only case

The first patch is to optimize the fprobe for entry only case. The second patch is to add testcase for mixed fprobe.

This series base on the "linux-trace" tree and "for-next" branch.

Changes since V3:
* fallback to fgraph if FTRACE_OPS_FL_SAVE_REGS not supported

Changes since V2:
* add some comment to the rcu_read_lock() in fprobe_ftrace_entry() in the 1st patch

Changes since V1:
* merge the rename of fprobe_entry into one
* add some document for fprobe_fgraph_entry as Masami suggested
* use ftrace_test_recursion_trylock() in fprobe_ftrace_entry()
* add the testcase for mixed fprobe

Menglong Dong (2):
tracing: fprobe: optimization for entry only case lib/test_fprobe: add testcase for mixed fprobe

 kernel/trace/fprobe.c   | 127 ++++++++++++++++++++++++++++++++++++----
 lib/tests/test_fprobe.c |  99 ++++++++++++++++++++++++++++++-
 2 files changed, 214 insertions(+), 12 deletions(-)
Signature · 1 line
2.51.0