bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Fixes for setting event freq/periods
@ 2020-07-28  8:57 Ian Rogers
  2020-07-28  8:57 ` [PATCH v2 1/5] perf record: Set PERF_RECORD_PERIOD if attr->freq is set Ian Rogers
                   ` (4 more replies)
  0 siblings, 5 replies; 32+ messages in thread
From: Ian Rogers @ 2020-07-28  8:57 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Mark Rutland, Alexander Shishkin, Jiri Olsa, Namhyung Kim,
	Alexei Starovoitov, Daniel Borkmann, Martin KaFai Lau, Song Liu,
	Yonghong Song, Andrii Nakryiko, John Fastabend, KP Singh,
	Adrian Hunter, Andi Kleen, Athira Rajeev, linux-kernel, netdev,
	bpf
  Cc: Stephane Eranian, Ian Rogers

Some fixes that address issues for regular and pfm4 events with 2
additional perf_event_attr tests. Various authors, David Sharp isn't
currently at Google.

v2. corrects the commit message following Athira Rajeev's suggestion.

David Sharp (1):
  perf record: Set PERF_RECORD_PERIOD if attr->freq is set.

Ian Rogers (3):
  perf test: Ensure sample_period is set libpfm4 events
  perf record: Don't clear event's period if set by a term
  perf test: Leader sampling shouldn't clear sample period

Stephane Eranian (1):
  perf record: Prevent override of attr->sample_period for libpfm4
    events

 tools/perf/tests/attr/README                 |  2 ++
 tools/perf/tests/attr/test-record-group2     | 29 ++++++++++++++++++++
 tools/perf/tests/attr/test-record-pfm-period |  9 ++++++
 tools/perf/util/evsel.c                      | 10 +++++--
 tools/perf/util/record.c                     | 28 +++++++++++++------
 5 files changed, 67 insertions(+), 11 deletions(-)
 create mode 100644 tools/perf/tests/attr/test-record-group2
 create mode 100644 tools/perf/tests/attr/test-record-pfm-period

-- 
2.28.0.163.g6104cc2f0b6-goog


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

end of thread, other threads:[~2020-09-12  3:03 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-28  8:57 [PATCH v2 0/5] Fixes for setting event freq/periods Ian Rogers
2020-07-28  8:57 ` [PATCH v2 1/5] perf record: Set PERF_RECORD_PERIOD if attr->freq is set Ian Rogers
2020-07-28 15:43   ` Jiri Olsa
2020-07-28 16:03     ` Arnaldo Carvalho de Melo
2020-07-29 15:11       ` Athira Rajeev
2020-07-29 18:52   ` Arnaldo Carvalho de Melo
2020-07-29 21:43     ` Ian Rogers
2020-09-04  5:39       ` Ian Rogers
2020-07-28  8:57 ` [PATCH v2 2/5] perf record: Prevent override of attr->sample_period for libpfm4 events Ian Rogers
2020-07-28 15:59   ` Jiri Olsa
2020-07-28 16:09     ` Jiri Olsa
2020-07-29 23:24       ` Ian Rogers
2020-09-04  5:41         ` Ian Rogers
2020-09-04 16:03           ` Jiri Olsa
2020-09-04 16:22             ` Ian Rogers
2020-09-04 18:48               ` Arnaldo Carvalho de Melo
2020-09-04 18:50                 ` Arnaldo Carvalho de Melo
2020-09-04 18:51                   ` Arnaldo Carvalho de Melo
2020-09-11 22:34                     ` Ian Rogers
2020-09-12  3:02                       ` Ian Rogers
2020-07-29 18:54   ` Arnaldo Carvalho de Melo
2020-07-28  8:57 ` [PATCH v2 3/5] perf test: Ensure sample_period is set " Ian Rogers
2020-07-28 12:45   ` Arnaldo Carvalho de Melo
2020-07-28  8:57 ` [PATCH v2 4/5] perf record: Don't clear event's period if set by a term Ian Rogers
2020-07-29 18:58   ` Arnaldo Carvalho de Melo
2020-08-04 10:08   ` Adrian Hunter
2020-08-04 13:33     ` Ian Rogers
2020-08-04 14:48       ` Adrian Hunter
2020-08-04 15:50         ` Ian Rogers
2020-09-04  5:43           ` Ian Rogers
2020-09-07  6:36             ` Adrian Hunter
2020-07-28  8:57 ` [PATCH v2 5/5] perf test: Leader sampling shouldn't clear sample period Ian Rogers

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