aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorNaveen N. Rao <[email protected]>2022-11-22 12:10:52 +0530
committerMichael Ellerman <[email protected]>2022-11-30 21:46:47 +1100
commit71ae6305ad41cfd1ac5aa91d356e71c7a537df2e (patch)
tree707c5cbf87e5cb47876fc4d5c0a5db86951b110c /tools/perf/scripts/python/exported-sql-viewer.py
parentdea681c91d3cd5326f87d0a3c93079573e22ce9a (diff)
selftests/powerpc: Move perror closer to its use
Right now, if perf_event_open() fails for the systemwide tests, error report is printed too late, sometimes after subsequent system calls. Move use of perror() to the main function, just after the syscall. Signed-off-by: Naveen N. Rao <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/372ac78c27899f1f612fbd6ac796604a4a9310aa.1669096083.git.naveen.n.rao@linux.vnet.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions