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

From: Naveen N. Rao
Date: Tue May 16 2017 - 13:53:04 EST


This is v2 of the patches posted at:
https://www.mail-archive.com/linux-kernel@xxxxxxxxxxxxxxx/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(-)

--
2.12.2