aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorStephane Eranian <[email protected]>2012-05-25 23:13:44 +0200
committerArnaldo Carvalho de Melo <[email protected]>2012-05-25 18:32:44 -0300
commita00dc319e98161949aa87f71a17db32e925c3257 (patch)
treee90f081b6bc4a62db6a28b5186d7cedd0d63048c /tools/perf/scripts/python/sctop.py
parentc410431cefefd766266139ed56bca21668e4f9a7 (diff)
perf record: Fix branch_stack type in perf_record_opts
The attr.branch_sample_type field is defined as u64 by the API. As such, we need to ensure the variable holding the value of the branch stack filters is also u64 otherwise we may lose bits in the future. Note also that the bogus definition of the field in perf_record_opts caused problems on big-endian PPC systems. Thanks to Anshuman Khandual for tracking the problem on PPC. Reported-by: Anshuman Khandual <[email protected]> Signed-off-by: Stephane Eranian <[email protected]> Cc: Anshuman Khandual <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/20120525211344.GA7729@quad Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions