aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib
diff options
context:
space:
mode:
authorEliezer Tamir <[email protected]>2013-06-28 15:59:26 +0300
committerDavid S. Miller <[email protected]>2013-07-01 14:06:47 -0700
commitad6276e0fe724b1c8ac3a0bf138d151665ab2349 (patch)
tree53cafc6ff855ac9d671aa6b9a77d9556054294dd /tools/perf/scripts/python/Perf-Trace-Util/lib
parentc9ab4d85de222f3390c67aedc9c18a50e767531e (diff)
net: fix LLS debug_smp_processor_id() warning
Our use of sched_clock is OK because we don't mind the side effects of calling it and occasionally waking up on a different CPU. When CONFIG_DEBUG_PREEMPT is on, disable preempt before calling sched_clock() so we don't trigger a debug_smp_processor_id() warning. Reported-by: Cody P Schafer <[email protected]> Signed-off-by: Eliezer Tamir <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions