From: Shunsuke <nakamura.shun@fujitsu.com>
To: peterz@infradead.org, mingo@redhat.com, acme@kernel.org,
mark.rutland@arm.com, alexander.shishkin@linux.intel.com,
jolsa@redhat.com, namhyung@kernel.org
Cc: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org
Subject: [RFC PATCH 0/7] libperf: Add overflow detection of sampling events
Date: Fri, 25 Feb 2022 19:31:07 +0900 [thread overview]
Message-ID: <20220225103114.144239-1-nakamura.shun@fujitsu.com> (raw)
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
next reply other threads:[~2022-02-25 10:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-25 10:31 Shunsuke [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220225103114.144239-1-nakamura.shun@fujitsu.com \
--to=nakamura.shun@fujitsu.com \
--cc=acme@kernel.org \
--cc=alexander.shishkin@linux.intel.com \
--cc=jolsa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mingo@redhat.com \
--cc=namhyung@kernel.org \
--cc=peterz@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®