diff options
author | 2021-06-27 20:01:50 -0700 | |
---|---|---|
committer | 2021-07-19 15:20:54 -0500 | |
commit | 0d361b0ac1ad99ecbe401a4eacdeb844dcdf86a2 (patch) | |
tree | c6286c61c3676c735d39a9cb945cd111d4cf249d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | soc: qcom: rpmhpd: Use corner in power_off (diff) | |
download | wireguard-linux-0d361b0ac1ad99ecbe401a4eacdeb844dcdf86a2.tar.xz wireguard-linux-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 <saiprakash.ranjan@codeaurora.org>
Cc: Douglas Anderson <dianders@chromium.org>
Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20210628030150.2627905-1-swboyd@chromium.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions