linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/7] libperf: Add overflow detection of sampling events
@ 2022-02-25 10:31 Shunsuke
  2022-02-25 10:31 ` [RFC PATCH 1/7] libperf tests: Fix typo in the error message "evsel" -> "evlist" Shunsuke
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Shunsuke @ 2022-02-25 10:31 UTC (permalink / raw)
  To: peterz, mingo, acme, mark.rutland, alexander.shishkin, jolsa,
	namhyung
  Cc: linux-kernel, linux-perf-users

From: Shunsuke Nakamura <nakamura.shun@fujitsu.com>

This patch series adds sampling event overflow detection capability
to libperf.

First patch fixes a typo in the error message that I noticed.

Second patch  adds a interface to set PERF_FLAG_FD_CLOEXEC

Third patch adds a interface to perform IOC_REFRESH and IOC_PERIOD.

Fourth patch adds a interface to set the signal handler.

Fifth patch adds a interface to detect overflowed events.

Sixth and seventh patch adds tests.

Shunsuke Nakamura (7):
  libperf tests: Fix typo in the error message "evsel" -> "evlist"
  libperf: Add perf_evsel__set_close_on_exec() function
  libperf: Add perf_evsel__refresh()/period() functions
  libperf: Add perf_evsel__set_signal() functions
  libperf: Add perf_evsel__check_fd() functions
  libperf test: Add test_stat_overflow()
  libperf test: Add test_detect_overflow_event()

 tools/lib/perf/Documentation/libperf.txt |  12 ++
 tools/lib/perf/evsel.c                   | 215 ++++++++++++++++++++++-
 tools/lib/perf/include/internal/evsel.h  |   2 +
 tools/lib/perf/include/perf/evsel.h      |  14 ++
 tools/lib/perf/libperf.map               |   9 +
 tools/lib/perf/tests/test-evlist.c       | 127 ++++++++++++-
 tools/lib/perf/tests/test-evsel.c        | 110 ++++++++++++
 tools/perf/util/evsel.c                  |  16 +-
 tools/perf/util/evsel.h                  |   1 -
 9 files changed, 487 insertions(+), 19 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-03-01  8:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-25 10:31 [RFC PATCH 0/7] libperf: Add overflow detection of sampling events Shunsuke
2022-02-25 10:31 ` [RFC PATCH 1/7] libperf tests: Fix typo in the error message "evsel" -> "evlist" Shunsuke
2022-02-25 10:31 ` [RFC PATCH 2/7] libperf: Add perf_evsel__set_close_on_exec() function Shunsuke
2022-02-25 10:31 ` [RFC PATCH 3/7] libperf: Add perf_evsel__refresh()/period() functions Shunsuke
2022-02-25 10:31 ` [RFC PATCH 4/7] libperf: Add perf_evsel__set_signal() functions Shunsuke
2022-02-25 10:31 ` [RFC PATCH 5/7] libperf: Add perf_evsel__check_fd() functions Shunsuke
2022-02-25 10:31 ` [RFC PATCH 6/7] libperf test: Add test_stat_overflow() Shunsuke
2022-02-25 10:31 ` [RFC PATCH 7/7] libperf test: Add test_detect_overflow_event() Shunsuke
2022-02-26 17:23 ` [RFC PATCH 0/7] libperf: Add overflow detection of sampling events Jiri Olsa
2022-03-01  8:32   ` nakamura.shun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).