lkml.org 
[lkml]   [2020]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] perf tools: minor fixes regarding macro usage
Date
    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

\
 
 \ /
  Last update: 2020-06-29 01:27    [W:0.042 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site