projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1216b65
)
perf inject: Also re-pipe lost_samples event
author
Adrian Hunter
<adrian.hunter@intel.com>
Fri, 13 Nov 2015 09:48:32 +0000
(11:48 +0200)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Fri, 13 Nov 2015 15:23:12 +0000
(12:23 -0300)
perf inject must re-pipe all events otherwise they get dropped from the
output file.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link:
http://lkml.kernel.org/r/1447408112-1920-4-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-inject.c
patch
|
blob
|
history
diff --git
a/tools/perf/builtin-inject.c
b/tools/perf/builtin-inject.c
index 0a945d2e8ca5b1bd319fa18537e7a4c57e3b7291..99d127fe9c35e500ca74ea871fd4373fcea15d68 100644
(file)
--- a/
tools/perf/builtin-inject.c
+++ b/
tools/perf/builtin-inject.c
@@
-675,6
+675,7
@@
int cmd_inject(int argc, const char **argv, const char *prefix __maybe_unused)
.fork = perf_event__repipe,
.exit = perf_event__repipe,
.lost = perf_event__repipe,
+ .lost_samples = perf_event__repipe,
.aux = perf_event__repipe,
.itrace_start = perf_event__repipe,
.context_switch = perf_event__repipe,