diff options
author | Frederic Weisbecker <[email protected]> | 2015-06-04 17:39:08 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-06-07 15:57:42 +0200 |
commit | 4eaca0a887eaee04fc7a3866d0f5b51b34030dfa (patch) | |
tree | 82ebaa639373c69aad063040cb87228fe5a0645c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | be690035df893385ceaac2323b29be1fb7f2a67f (diff) |
preempt: Use preempt_schedule_context() as the official tracing preemption point
preempt_schedule_context() is a tracing safe preemption point but it's
only used when CONFIG_CONTEXT_TRACKING=y. Other configs have tracing
recursion issues since commit:
b30f0e3ffedf ("sched/preempt: Optimize preemption operations on __schedule() callers")
introduced function based preemp_count_*() ops.
Lets make it available on all configs and give it a more appropriate
name for its new position.
Reported-by: Fengguang Wu <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions