Re: [PATCH V2] libperf evlist: Fix per-thread mmaps for multi-threaded targets

From: Vince Weaver
Date: Tue Sep 06 2022 - 17:17:22 EST


On Tue, 6 Sep 2022, Ian Rogers wrote:

> > >> perf_evlist__set_mmap_first(evlist, map, overwrite);
> > >> } else {
> libperf CPU map code as I'd like to propose we start a libperf2 (with
> LPC coming up it'd be a good place to discuss this, there's also the
> office hours on Thursday). What I hope for libperf2 is that we can
> make its license the same as libbpf, so the code can be more widely
> included in projects.

If you did plan to do this, it might be nice to include some
representatives from groups that would be likely to use such a library.
This might include the PAPI library developers, and there are various
other tools (especially in the HPC area) who are coding to
perf_event_open() directly but probably would like to use a library
instead if possible.

Vince Weaver
vincent.weaver@xxxxxxxxx