linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] perf/ibs: Fix interface via core pmu events
@ 2023-03-02  9:21 Ravi Bangoria
  2023-03-02  9:21 ` [PATCH 1/2] " Ravi Bangoria
  2023-03-02  9:21 ` [PATCH 2/2] perf test: Add selftest to test IBS invocation " Ravi Bangoria
  0 siblings, 2 replies; 9+ messages in thread
From: Ravi Bangoria @ 2023-03-02  9:21 UTC (permalink / raw)
  To: peterz
  Cc: ravi.bangoria, eranian, acme, mark.rutland, jolsa, namhyung,
	irogers, bp, x86, linux-perf-users, linux-kernel, sandipan.das,
	ananth.narayan, santosh.shukla

IBS used to allow event creation via core pmu events with precise_ip
attribute set, but it's broken since late 2019. 1st patch fixes the
issue and 2nd patch adds simple perf test for the same.

Ravi Bangoria (2):
  perf/ibs: Fix interface via core pmu events
  perf test: Add selftest to test IBS invocation via core pmu events

 arch/x86/events/amd/core.c          |  5 +++
 arch/x86/events/core.c              |  2 +
 arch/x86/events/perf_event.h        |  3 ++
 include/linux/perf_event.h          |  1 +
 kernel/events/core.c                | 11 +++--
 tools/perf/tests/Build              |  1 +
 tools/perf/tests/builtin-test.c     |  1 +
 tools/perf/tests/ibs-via-core-pmu.c | 70 +++++++++++++++++++++++++++++
 tools/perf/tests/tests.h            |  1 +
 9 files changed, 92 insertions(+), 3 deletions(-)
 create mode 100644 tools/perf/tests/ibs-via-core-pmu.c

-- 
2.39.2


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

end of thread, other threads:[~2023-03-07  3:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-02  9:21 [PATCH 0/2] perf/ibs: Fix interface via core pmu events Ravi Bangoria
2023-03-02  9:21 ` [PATCH 1/2] " Ravi Bangoria
2023-03-02 22:10   ` Namhyung Kim
2023-03-03  5:54     ` Ravi Bangoria
2023-03-06 22:29       ` Namhyung Kim
2023-03-07  3:19         ` Ravi Bangoria
2023-03-02  9:21 ` [PATCH 2/2] perf test: Add selftest to test IBS invocation " Ravi Bangoria
2023-03-02 22:12   ` Namhyung Kim
2023-03-03  5:55     ` Ravi Bangoria

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).