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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 4 Jan 2023 11:21:50 -0300
From:   Arnaldo Carvalho de Melo <acme@...nel.org>
To:     Namhyung Kim <namhyung@...nel.org>
Cc:     Jiri Olsa <jolsa@...nel.org>, Ingo Molnar <mingo@...nel.org>,
        Peter Zijlstra <peterz@...radead.org>,
        LKML <linux-kernel@...r.kernel.org>,
        Ian Rogers <irogers@...gle.com>,
        Adrian Hunter <adrian.hunter@...el.com>,
        linux-perf-users@...r.kernel.org, Song Liu <songliubraving@...com>,
        bpf@...r.kernel.org
Subject: Re: [PATCH 0/4] perf bpf_counter: A set of random fixes (v1)

Em Tue, Jan 03, 2023 at 10:43:58PM -0800, Namhyung Kim escreveu:
> Hello,
> 
> This is a collection of small fixes for perf stat bpf counters (bperf).
> 
> The bperf framework maintains perf_attr_map in the BPF fs to share the
> same event as much as possible.  But the size was limited to 16 and
> perf stat with -ddd option would create more than 16 events and fails.
> 
> Also cgroup events with --for-each-cgroup had some other problems when
> dealing with unsupported events and duplicate cgroups.
> 
> The code is available at 'perf/stat-bpf-fix-v1' branch in
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git

The first two are improvements, not strict fixes, so I'm leaving them
for the next merge window.

- Arnaldo
 
> Thanks,
> Namhyung
> 
> Namhyung Kim (4):
>   perf bpf_counter: Add more error messages for bperf
>   perf bpf_counter: Increase perf_attr_map entries to 32
>   perf bpf_counter: Handle unsupported cgroup events
>   perf stat: Do not use the same cgroup more than once
> 
>  tools/perf/util/bpf_counter.c        | 11 ++++++++---
>  tools/perf/util/bpf_counter_cgroup.c | 14 +++-----------
>  tools/perf/util/cgroup.c             | 23 ++++++++++++++++++-----
>  3 files changed, 29 insertions(+), 19 deletions(-)
> 
> 
> base-commit: d8d85ce86dc82de4f88b821a78f533b9d5b22a45
> -- 
> 2.39.0.314.g84b9a713c41-goog

-- 

- Arnaldo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ