[PATCH 0/2] perf tools: minor fixes regarding macro usage
From: Emmanouil Maroudas
Date: Sun Jun 28 2020 - 19:44:08 EST
Hello,
Here are some minor fixes for perf tools regarding *SEC_PER*SEC macro usage,
found while reading the code.
Patch 1 replaces a macro with a more suitable one (same value, different name).
Patch 2 converts some hardcoded values (which seem appropriate IMHO) with their
respective macros.
Based on v5.8-rc3.
No functionality change. The final perf binary is the same, before and after
these patches.
Thanks,
Emmanouil Maroudas
Emmanouil Maroudas (2):
perf stat: use proper macro for time conversions
perf tools: use *SEC_PER_*SEC macros
tools/perf/builtin-record.c | 2 +-
tools/perf/builtin-stat.c | 12 ++++++------
tools/perf/builtin-trace.c | 2 +-
3 files changed, 8 insertions(+), 8 deletions(-)
--
2.17.1