tracing/function-graph-tracer: turn tracing_selftest_running into an int
commit8e1b82e0866befaa0b2920be296c6e4c3fc7f422
authorFrederic Weisbecker <fweisbec@gmail.com>
Sat, 6 Dec 2008 02:41:33 +0000 (6 03:41 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 8 Dec 2008 14:11:44 +0000 (8 15:11 +0100)
treee1570ed8c1b671288d82897789a4891da45b13c8
parent8b96f0119818964e4944fd1c423bf6770027d3ac
tracing/function-graph-tracer: turn tracing_selftest_running into an int

Impact: cleanup

Apply some suggestions of Steven Rostedt:

_turn tracing_selftest_running into a simple int (no need of an atomic_t)
_set it __read_mostly
_fix a comment style

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.c