Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf inject: Also re-pipe lost_samples event

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>

authored by

Adrian Hunter and committed by
Arnaldo Carvalho de Melo
d8145b3e 1216b65c

+1
+1
tools/perf/builtin-inject.c
··· 675 675 .fork = perf_event__repipe, 676 676 .exit = perf_event__repipe, 677 677 .lost = perf_event__repipe, 678 + .lost_samples = perf_event__repipe, 678 679 .aux = perf_event__repipe, 679 680 .itrace_start = perf_event__repipe, 680 681 .context_switch = perf_event__repipe,