Naveen N. Rao
fca18a47cf
trace/kprobes: Sanitize derived event names
...
When we derive event names, convert some expected symbols (such as ':'
used to specify module:name and '.' present in some symbols) into
underscores so that the event name is not rejected.
Before this patch:
# echo 'p kobject_example:foo_store' > kprobe_events
trace_kprobe: Failed to allocate trace_probe.(-22)
-sh: write error: Invalid argument
After this patch:
# echo 'p kobject_example:foo_store' > kprobe_events
# cat kprobe_events
p:kprobes/p_kobject_example_foo_store_0 kobject_example:foo_store
Link: http://lkml.kernel.org/r/66c189e09e71361aba91dd4a5bd146a1b62a7a51.1499453040.git.naveen.n.rao@linux.vnet.ibm.com
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2017-07-09 07:45:53 -04:00
..
blktrace.c
blktrace: fix integer parse
2017-05-19 09:21:15 -06:00
bpf_trace.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2017-05-02 16:40:27 -07:00
ftrace.c
ftrace: Test for NULL iter->tr in regex for stack_trace_filter changes
2017-07-05 09:52:18 -04:00
Kconfig
tracing: Rename update the enum_map file
2017-06-13 17:13:06 -04:00
Makefile
perf/core: Rename CONFIG_[UK]PROBE_EVENT to CONFIG_[UK]PROBE_EVENTS
2017-03-01 10:26:39 +01:00
power-traces.c
ring_buffer.c
New features for this release:
2017-05-03 18:41:21 -07:00
ring_buffer_benchmark.c
ring-buffer: Return reader page back into existing ring buffer
2017-05-01 10:26:40 -04:00
rpm-traces.c
trace.c
tracing: Attempt to record other information even if some fail
2017-07-07 09:11:34 -04:00
trace.h
tracing: Add support for recording tgid of tasks
2017-06-27 13:30:28 -04:00
trace_benchmark.c
tracing: Have the trace_event benchmark thread call cond_resched_rcu_qs()
2017-04-17 15:21:19 -04:00
trace_benchmark.h
trace_branch.c
tracing: Add the constant count for branch tracer
2017-01-19 08:57:41 -05:00
trace_clock.c
sched/headers: Prepare for new header dependencies before moving code to <linux/sched/clock.h>
2017-03-02 08:42:27 +01:00
trace_entries.h
trace: make trace_hwlat timestamp y2038 safe
2017-05-08 17:15:15 -07:00
trace_event_perf.c
trace_events.c
tracing: Add support for recording tgid of tasks
2017-06-27 13:30:28 -04:00
trace_events_filter.c
trace_events_filter_test.h
trace_events_hist.c
sched/headers: Prepare to use <linux/rcuupdate.h> instead of <linux/rculist.h> in <linux/sched.h>
2017-03-02 08:42:38 +01:00
trace_events_trigger.c
sched/headers: Prepare to use <linux/rcuupdate.h> instead of <linux/rculist.h> in <linux/sched.h>
2017-03-02 08:42:38 +01:00
trace_export.c
trace_functions.c
ftrace: Fix regression with module command in stack_trace_filter
2017-06-29 10:05:45 -04:00
trace_functions_graph.c
trace_hwlat.c
trace: make trace_hwlat timestamp y2038 safe
2017-05-08 17:15:15 -07:00
trace_irqsoff.c
clocksource: Use a plain u64 instead of cycle_t
2016-12-25 11:04:12 +01:00
trace_kdb.c
trace_kprobe.c
trace/kprobes: Sanitize derived event names
2017-07-09 07:45:53 -04:00
trace_mmiotrace.c
trace_nop.c
trace_output.c
tracing: Add support for display of tgid in trace output
2017-06-27 13:30:28 -04:00
trace_output.h
trace_printk.c
trace_probe.c
tracing/probes: Fix a warning message to show correct maximum length
2017-02-15 10:32:48 -05:00
trace_probe.h
perf/core: Rename CONFIG_[UK]PROBE_EVENT to CONFIG_[UK]PROBE_EVENTS
2017-03-01 10:26:39 +01:00
trace_sched_switch.c
tracing: Add support for recording tgid of tasks
2017-06-27 13:30:28 -04:00
trace_sched_wakeup.c
clocksource: Use a plain u64 instead of cycle_t
2016-12-25 11:04:12 +01:00
trace_selftest.c
sched/headers: Prepare for new header dependencies before moving code to <uapi/linux/sched/types.h>
2017-03-02 08:42:27 +01:00
trace_selftest_dynamic.c
trace_seq.c
trace_stack.c
ftrace: Fix regression with module command in stack_trace_filter
2017-06-29 10:05:45 -04:00
trace_stat.c
trace_stat.h
trace_syscalls.c
trace_uprobe.c
sched/headers: Prepare to use <linux/rcuupdate.h> instead of <linux/rculist.h> in <linux/sched.h>
2017-03-02 08:42:38 +01:00
tracing_map.c
tracing_map.h