kernel_optimize_test/kernel/trace
Will Deacon 60916a9382 tracing/syscalls: Fix perf syscall tracing when syscall_nr == -1
syscall_get_nr can return -1 in the case that the task is not executing
a system call.

This patch fixes perf_syscall_{enter,exit} to check that the syscall
number is valid before using it as an index into a bitmap.

Link: http://lkml.kernel.org/r/1345137254-7377-1-git-send-email-will.deacon@arm.com

Cc: Jason Baron <jbaron@redhat.com>
Cc: Wade Farnsworth <wade_farnsworth@mentor.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2012-08-17 15:19:46 -04:00
..
blktrace.c
ftrace.c
Kconfig
Makefile
power-traces.c
ring_buffer_benchmark.c
ring_buffer.c Merge branch 'linus' into perf/core 2012-07-18 11:17:17 +02:00
rpm-traces.c
trace_branch.c
trace_clock.c
trace_entries.h
trace_event_perf.c perf/trace: Add ability to set a target task for events 2012-07-31 17:02:05 +02:00
trace_events_filter_test.h
trace_events_filter.c
trace_events.c
trace_export.c
trace_functions_graph.c
trace_functions.c tracing/function: Convert func_set_flag() to a switch statement 2012-07-17 10:15:04 -07:00
trace_irqsoff.c
trace_kdb.c
trace_kprobe.c perf/trace: Add ability to set a target task for events 2012-07-31 17:02:05 +02: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_dynamic.c
trace_selftest.c
trace_stack.c
trace_stat.c
trace_stat.h
trace_syscalls.c tracing/syscalls: Fix perf syscall tracing when syscall_nr == -1 2012-08-17 15:19:46 -04:00
trace_uprobe.c perf/trace: Add ability to set a target task for events 2012-07-31 17:02:05 +02:00
trace.c Staging tree patches for 3.6-rc1 2012-07-26 11:14:49 -07:00
trace.h