aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2021-06-28 03:01:50 +0000
committerBjorn Andersson <[email protected]>2021-07-19 20:20:54 +0000
commit0d361b0ac1ad99ecbe401a4eacdeb844dcdf86a2 (patch)
treec6286c61c3676c735d39a9cb945cd111d4cf249d /tools/perf/scripts/python/intel-pt-events.py
parentsoc: qcom: rpmhpd: Use corner in power_off (diff)
downloadkernel-0d361b0ac1ad99ecbe401a4eacdeb844dcdf86a2.tar.gz
kernel-0d361b0ac1ad99ecbe401a4eacdeb844dcdf86a2.zip
soc: qcom: socinfo: Don't print anything if nothing found
Let's skip printing anything if there's nothing to see. This makes it so the file length is 0 instead of 1, for the newline, and helps scripts figure out if there's anything to see in these files. Cc: Sai Prakash Ranjan <[email protected]> Cc: Douglas Anderson <[email protected]> Cc: Dmitry Baryshkov <[email protected]> Reviewed-by: Douglas Anderson <[email protected]> Reviewed-by: Sai Prakash Ranjan <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions