linux-uconsole/kernel/trace
Vaibhav Nagarnaik f437e75ac2 tracing: change CPU ring buffer state from tracing_cpumask
commit 71babb2705 upstream.

According to Documentation/trace/ftrace.txt:

tracing_cpumask:

        This is a mask that lets the user only trace
        on specified CPUS. The format is a hex string
        representing the CPUS.

The tracing_cpumask currently doesn't affect the tracing state of
per-CPU ring buffers.

This patch enables/disables CPU recording as its corresponding bit in
tracing_cpumask is set/unset.

Link: http://lkml.kernel.org/r/1336096792-25373-3-git-send-email-vnagarnaik@google.com

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Laurent Chavey <chavey@google.com>
Cc: Justin Teravest <teravest@google.com>
Cc: David Sharp <dhsharp@google.com>
Signed-off-by: Vaibhav Nagarnaik <vnagarnaik@google.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-07-16 08:47:51 -07:00
..
blktrace.c
ftrace.c ftrace: Fix unregister ftrace_ops accounting 2012-02-03 09:18:54 -08:00
Kconfig
Makefile
power-traces.c
ring_buffer.c
ring_buffer_benchmark.c
trace.c tracing: change CPU ring buffer state from tracing_cpumask 2012-07-16 08:47:51 -07:00
trace.h
trace_branch.c
trace_clock.c
trace_entries.h tracing: Fix ftrace stack trace entries 2012-04-13 08:14:06 -07:00
trace_event_perf.c
trace_events.c tracing: fix event_subsystem ref counting 2011-12-09 08:52:48 -08:00
trace_events_filter.c trace_events_filter: Use rcu_assign_pointer() when setting ftrace_event_call->filter 2011-12-09 08:52:47 -08:00
trace_export.c tracing: Fix ftrace stack trace entries 2012-04-13 08:14:06 -07:00
trace_functions.c ftrace: Fix regression of :mod:module function enabling 2011-10-16 14:14:55 -07:00
trace_functions_graph.c
trace_irqsoff.c
trace_kdb.c
trace_kprobe.c
trace_mmiotrace.c
trace_nop.c
trace_output.c
trace_output.h
trace_printk.c
trace_sched_switch.c
trace_sched_wakeup.c
trace_selftest.c
trace_selftest_dynamic.c
trace_stack.c
trace_stat.c
trace_stat.h
trace_syscalls.c
trace_workqueue.c