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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191105130354.GE29390@krava>
Date:   Tue, 5 Nov 2019 14:03:54 +0100
From:   Jiri Olsa <jolsa@...hat.com>
To:     Jiri Olsa <jolsa@...nel.org>
Cc:     Arnaldo Carvalho de Melo <acme@...nel.org>,
        lkml <linux-kernel@...r.kernel.org>,
        Ingo Molnar <mingo@...nel.org>,
        Namhyung Kim <namhyung@...nel.org>,
        Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
        Peter Zijlstra <a.p.zijlstra@...llo.nl>,
        Michael Petlan <mpetlan@...hat.com>,
        Joe Mario <jmario@...hat.com>,
        Kan Liang <kan.liang@...ux.intel.com>,
        Andi Kleen <ak@...ux.intel.com>,
        Alexey Budankov <alexey.budankov@...ux.intel.com>
Subject: Re: [PATCHv2 0/3] perf stat: Add --per-node option

On Wed, Sep 04, 2019 at 09:34:12AM +0200, Jiri Olsa wrote:
> hi,
> adding --per-node option to aggregate stats per NUMA nodes,
> you can get now use stat command like:
>     
>   # perf stat  -a -I 1000 -e cycles --per-node
>   #           time node   cpus             counts unit events
>        1.000542550 N0       20          6,202,097      cycles
>        1.000542550 N1       20            639,559      cycles
>        2.002040063 N0       20          7,412,495      cycles
>        2.002040063 N1       20          2,185,577      cycles
>        3.003451699 N0       20          6,508,917      cycles
>        3.003451699 N1       20            765,607      cycles
>   ...
> 
> v2 changes:
>   - use mallox instead of zalloc plus adding comment [Arnaldo]
>   - rename --per-numa to --per-node [Alexey]
>   - rename function names to have node instead of numa
> 
> Available also in:
>   git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
>   perf/fixes

I forgot about this one ;-) rebased the latest perf/core
and pushed out..

thanks,
jirka


> 
> thanks,
> jirka
> 
> 
> ---
> Jiri Olsa (3):
>       libperf: Add perf_cpu_map__max function
>       perf tools: Add perf_env__numa_node function
>       perf stat: Add --per-node agregation support
> 
>  tools/perf/Documentation/perf-stat.txt |  5 +++++
>  tools/perf/builtin-stat.c              | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++----------
>  tools/perf/lib/cpumap.c                | 12 ++++++++++++
>  tools/perf/lib/include/perf/cpumap.h   |  1 +
>  tools/perf/lib/libperf.map             |  1 +
>  tools/perf/util/cpumap.c               | 18 ++++++++++++++++++
>  tools/perf/util/cpumap.h               |  3 +++
>  tools/perf/util/env.c                  | 40 ++++++++++++++++++++++++++++++++++++++++
>  tools/perf/util/env.h                  |  6 ++++++
>  tools/perf/util/stat-display.c         | 15 +++++++++++++++
>  tools/perf/util/stat.c                 |  1 +
>  tools/perf/util/stat.h                 |  1 +
>  12 files changed, 153 insertions(+), 10 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ