Re: [PATCH 0/2] perf tools: minor fixes regarding macro usage
From: Jiri Olsa
Date: Fri Jul 03 2020 - 06:55:23 EST
On Mon, Jun 29, 2020 at 02:25:19AM +0300, Emmanouil Maroudas wrote:
> 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
Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>
thanks,
jirka
>
> 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
>