Skip to content

ftrace: Fix a few issues

Naveen N. Rao lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyIn review
  2. v14 patches 13 repliesSuperseded

Changes from the cover letter

- Patch 1 has been updated to actually simplify the check for glob
- Patch 2 has been updated to guard the call to clear_ftrace_function_probes() in trace.c with the proper #ifdef's
- Patches 3 and 4 are the same as in v1.

- Naveen

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ftrace: Simplify glob handling in unregister_ftrace_function_probe_func()kernel/trace/ftrace.c+2 -21 reply
2/4ftrace/instances: Clear function triggers when removing instanceskernel/trace/ftrace.c kernel/trace/trace.c kernel/trace/trace.h+12 -00 replies
3/4selftests/ftrace: Fix bashismstools/testing/selftests/ftrace/ftracetest tools/testing/selftests/ftrace/test.d/ftrace/func_event_triggers.tc tools/testing/selftests/ftrace/test.d/functions+4 -40 replies
4/4selftests/ftrace: Add test to remove instance with active event triggerstools/testing/selftests/ftrace/test.d/instances/instance-event.tc+6 -20 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchMasami Hiramatsu
1/4R-b
2/4
3/4A-b
4/4

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

Read the v2 thread

Cover letter [PATCH v2 0/4] ftrace: Fix a few issues

This is v2 of the patches posted at:
https://www.mail-archive.com/[email protected]/msg1395670.html

Changes:
- Patch 1 has been updated to actually simplify the check for glob
- Patch 2 has been updated to guard the call to clear_ftrace_function_probes() in trace.c with the proper #ifdef's
- Patches 3 and 4 are the same as in v1.

- Naveen

Naveen N. Rao (4):
ftrace: Simplify glob handling in
unregister_ftrace_function_probe_func()
ftrace/instances: Clear function triggers when removing instances selftests/ftrace: Fix bashisms
selftests/ftrace: Add test to remove instance with active event
triggers

 kernel/trace/ftrace.c                                        | 12 ++++++++++--
 kernel/trace/trace.c                                         |  3 +++
 kernel/trace/trace.h                                         |  1 +
 tools/testing/selftests/ftrace/ftracetest                    |  2 +-
 .../selftests/ftrace/test.d/ftrace/func_event_triggers.tc    |  2 +-
 tools/testing/selftests/ftrace/test.d/functions              |  4 ++--
 .../selftests/ftrace/test.d/instances/instance-event.tc      |  8 ++++++--
 7 files changed, 24 insertions(+), 8 deletions(-)
Signature · 1 line
2.12.2