All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] perf tools: minor fixes regarding macro usage
@ 2020-06-28 23:25 Emmanouil Maroudas
  2020-06-28 23:25 ` [PATCH 1/2] perf stat: use proper macro for time conversions Emmanouil Maroudas
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Emmanouil Maroudas @ 2020-06-28 23:25 UTC (permalink / raw)
  To: linux-kernel
  Cc: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Mark Rutland, Alexander Shishkin, Jiri Olsa, Namhyung Kim,
	Emmanouil Maroudas

    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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-07-03 10:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-28 23:25 [PATCH 0/2] perf tools: minor fixes regarding macro usage Emmanouil Maroudas
2020-06-28 23:25 ` [PATCH 1/2] perf stat: use proper macro for time conversions Emmanouil Maroudas
2020-06-28 23:25 ` [PATCH 2/2] perf tools: use *SEC_PER_*SEC macros Emmanouil Maroudas
2020-07-03 10:55 ` [PATCH 0/2] perf tools: minor fixes regarding macro usage Jiri Olsa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.