[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230302031146.2801588-1-changbin.du@huawei.com>
Date: Thu, 2 Mar 2023 11:11:43 +0800
From: Changbin Du <changbin.du@...wei.com>
To: Arnaldo Carvalho de Melo <acme@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>
CC: Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
<linux-perf-users@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
Hui Wang <hw.huiwang@...wei.com>,
Changbin Du <changbin.du@...wei.com>
Subject: [PATCH v2 0/3] perf : fix counting when initial delay configured
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
Powered by blists - more mailing lists