[PATCH 0/2] perf tools: minor fixes regarding macro usage

2020-06-28 Thread Emmanouil Maroudas
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

[PATCH 1/2] perf stat: use proper macro for time conversions

2020-06-28 Thread Emmanouil Maroudas
. Signed-off-by: Emmanouil Maroudas --- tools/perf/builtin-stat.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c index 9be020e0098a..6aa866e2d512 100644 --- a/tools/perf/builtin-stat.c +++ b/tools/perf/builtin-stat.c

[PATCH 2/2] perf tools: use *SEC_PER_*SEC macros

2020-06-28 Thread Emmanouil Maroudas
builtin-stat.c: typecast macro to u64 see commit ea9eb1f456a0 ("perf stat: Fix duration_time value for higher intervals") No functional change intended. Signed-off-by: Emmanouil Maroudas --- tools/perf/builtin-record.c | 2 +- tools/perf/builtin-stat.c | 4 ++--