android_kernel_motorola_sm6375/kernel/trace
Repository files (latest commit first)
Filename Latest commit message Latest commit date
zhangwei(Jovi) fa44063f9e uprobes: Fix return value in error handling path
When wrong argument is passed into uprobe_events it does not return
an error:

[root@jovi tracing]# echo 'p:myprobe /bin/bash' > uprobe_events
[root@jovi tracing]#

The proper response is:

[root@jovi tracing]# echo 'p:myprobe /bin/bash' > uprobe_events
-bash: echo: write error: Invalid argument

Link: http://lkml.kernel.org/r/51B964FF.5000106@huawei.com

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: <srikar@linux.vnet.ibm.com>
Cc: stable@vger.kernel.org # 3.5+
Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@huawei.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2013-07-02 20:42:29 -04:00
..
blktrace.c
ftrace.c ftrace: Do not run selftest if command line parameter is set 2013-07-01 20:57:15 -04:00
Kconfig
Makefile
power-traces.c
ring_buffer.c
ring_buffer_benchmark.c
rpm-traces.c
trace.c tracing: Get trace_array ref counts when accessing trace files 2013-07-02 10:17:04 -04:00
trace.h tracing: Add trace_array_get/put() to event handling 2013-07-02 17:13:34 -04:00
trace_branch.c
trace_clock.c
trace_entries.h
trace_event_perf.c
trace_events.c tracing: Fix race between deleting buffer and setting events 2013-07-02 20:42:25 -04:00
trace_events_filter.c tracing: Add binary '&' filter for events 2013-06-19 23:30:40 -04:00
trace_events_filter_test.h
trace_export.c
trace_functions.c
trace_functions_graph.c
trace_irqsoff.c tracing: Use flag buffer_disabled for irqsoff tracer 2013-07-01 20:34:28 -04:00
trace_kdb.c
trace_kprobe.c tracing/kprobes: Don't pass addr=ip to perf_trace_buf_submit() 2013-07-01 20:34:28 -04:00
trace_mmiotrace.c
trace_nop.c
trace_output.c
trace_output.h
trace_printk.c
trace_probe.c
trace_probe.h
trace_sched_switch.c
trace_sched_wakeup.c
trace_selftest.c ftrace: Do not run selftest if command line parameter is set 2013-07-01 20:57:15 -04:00
trace_selftest_dynamic.c
trace_stack.c
trace_stat.c
trace_stat.h
trace_syscalls.c
trace_uprobe.c uprobes: Fix return value in error handling path 2013-07-02 20:42:29 -04:00