aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2015-05-21 10:57:36 +0200
committerIngo Molnar <[email protected]>2015-05-27 09:17:44 +0200
commit1fe684e349e904adeed2883cfdeef259a21c94f4 (patch)
tree24b41966e9a9854c7b5e6d3ed525fc71f2309581 /tools/perf/scripts/python/bin/stackcollapse-record
parent0c41e756b9c5a9899b5cd238226600f8f34c9b82 (diff)
perf/x86/intel: Remove pointless tests
Both intel_commit_scheduling() and intel_get_excl_contraints() test for cntr < 0. The only way that can happen (aside from a bug) is through validate_event(), however that is already captured by the cpuc->is_fake test. So remove these test and simplify the code. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Vince Weaver <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions