aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorThomas Richter <[email protected]>2024-08-08 10:58:56 +0200
committerVasily Gorbik <[email protected]>2024-08-21 16:17:01 +0200
commit742a7557164bbde9f3263aeebc581fb985fe7dbc (patch)
treeefc2448681365329c344cecf42340e0f7c2d4225 /tools/perf/scripts/python/event_analyzing_sample.py
parent073ef6b2041075e08c780db34f67e6daf884c9f8 (diff)
s390/cpum_sf: Ignore lsctl() return code in sf_disable()
sf_disable() returns the condition code of instruction lsctl (load sampling controls). However the parameter to lsctl() in sf_disable() is a sample control block containing all zeroes. This invocation of lsctl() does not fail and returns always zero even when there is no authorization for sampling on the machine. In short, sampling can be always turned off. Ignore the return code of sf_disable() and change the function return to void. Signed-off-by: Thomas Richter <[email protected]> Acked-by: Sumanth Korikkar <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: Vasily Gorbik <[email protected]> Cc: Alexander Gordeev <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions