lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200703105509.GB3261456@krava>
Date:   Fri, 3 Jul 2020 12:55:09 +0200
From:   Jiri Olsa <jolsa@...hat.com>
To:     Emmanouil Maroudas <emmanouil.maroudas@...il.com>
Cc:     linux-kernel@...r.kernel.org,
        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>,
        Namhyung Kim <namhyung@...nel.org>
Subject: Re: [PATCH 0/2] perf tools: minor fixes regarding macro usage

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@...hat.com>

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
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ