linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] perf : fix counting when initial delay configured
@ 2023-03-02  3:11 Changbin Du
  2023-03-02  3:11 ` [PATCH v2 1/3] perf stat: " Changbin Du
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Changbin Du @ 2023-03-02  3:11 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo, Peter Zijlstra, Ingo Molnar
  Cc: Mark Rutland, Alexander Shishkin, Jiri Olsa, Namhyung Kim,
	linux-perf-users, linux-kernel, Hui Wang, Changbin Du

The first one fixes the problem that counters are never enabled  when initial
delay configured.
The remaining two reuse the common field target::initial_delay for
record/ftrace/trace subcommands.

v2:
 - introduce common filed target::initial_delay

Changbin Du (3):
  perf stat: fix counting when initial delay configured
  perf record: reuse target::initial_delay
  perf: ftrace: reuse target::initial_delay

 tools/perf/builtin-ftrace.c | 10 +++++-----
 tools/perf/builtin-record.c | 12 ++++++------
 tools/perf/builtin-stat.c   | 15 +++++----------
 tools/perf/builtin-trace.c  |  8 ++++----
 tools/perf/util/evlist.c    |  6 +++---
 tools/perf/util/evsel.c     |  2 +-
 tools/perf/util/ftrace.h    |  1 -
 tools/perf/util/record.h    |  1 -
 tools/perf/util/stat.c      |  6 +-----
 tools/perf/util/stat.h      |  1 -
 tools/perf/util/target.h    | 12 ++++++++++++
 11 files changed, 37 insertions(+), 37 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2023-03-13  1:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-02  3:11 [PATCH v2 0/3] perf : fix counting when initial delay configured Changbin Du
2023-03-02  3:11 ` [PATCH v2 1/3] perf stat: " Changbin Du
2023-03-02  3:11 ` [PATCH v2 2/3] perf record: reuse target::initial_delay Changbin Du
2023-03-02  3:11 ` [PATCH v2 3/3] perf: ftrace: " Changbin Du
2023-03-02 19:22 ` [PATCH v2 0/3] perf : fix counting when initial delay configured Namhyung Kim
2023-03-02 20:40   ` Arnaldo Carvalho de Melo
2023-03-10  2:37     ` Changbin Du
2023-03-10 15:05       ` Arnaldo Carvalho de Melo
2023-03-13  1:58         ` Changbin Du

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