[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200628232521.22686-1-emmanouil.maroudas@gmail.com>
Date: Mon, 29 Jun 2020 02:25:19 +0300
From: Emmanouil Maroudas <emmanouil.maroudas@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...hat.com>,
Namhyung Kim <namhyung@...nel.org>,
Emmanouil Maroudas <emmanouil.maroudas@...il.com>
Subject: [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(-)
--
2.17.1
Powered by blists - more mailing lists