Skip to content

perf tools: minor fixes regarding macro usage

Emmanouil Maroudas lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2perf stat: use proper macro for time conversionstools/perf/builtin-stat.c+4 -40 replies
2/2perf tools: use *SEC_PER_*SEC macrostools/perf/builtin-record.c tools/perf/builtin-stat.c tools/perf/builtin-trace.c+4 -40 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJiri Olsa
SeriesA-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.17.1