lkml.org 
[lkml]   [2023]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] perf : fix counting when initial delay configured
Date
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

\
 
 \ /
  Last update: 2023-03-27 00:41    [W:0.091 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site