diff options
| author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-03-10 18:43:17 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-03-10 18:43:17 -0300 |
| commit | b8fa3e3833c14151a47ebebbc5427dcfe94bb407 (patch) | |
| tree | d0c6fa9b055b5d58de913346b0a077cd2bcc6416 /tools/perf/util/stat.c | |
| parent | 0ec73817ca21f6ed4f2cca44b63e81a688c0ba0b (diff) | |
| parent | 55a21105ecc156495446d8ae75d7d73f66baed7b (diff) | |
Merge remote-tracking branch 'acme/perf-tools' into perf-tools-next
To pick up perf-tools fixes just merged upstream.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/stat.c')
| -rw-r--r-- | tools/perf/util/stat.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/perf/util/stat.c b/tools/perf/util/stat.c index 4abfd87c5352..0f7b8a8cdea6 100644 --- a/tools/perf/util/stat.c +++ b/tools/perf/util/stat.c @@ -768,11 +768,7 @@ int create_perf_stat_counter(struct evsel *evsel, if (evsel__is_group_leader(evsel)) { attr->disabled = 1; - /* - * In case of initial_delay we enable tracee - * events manually. - */ - if (target__none(target) && !config->initial_delay) + if (target__enable_on_exec(target)) attr->enable_on_exec = 1; } |
