perf inject: Also re-pipe lost_samples event
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 13 Nov 2015 09:48:32 +0000 (11:48 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 13 Nov 2015 15:23:12 +0000 (12:23 -0300)
commitd8145b3e30a24280c396d88c8703c50a1ea0aa3a
tree3cbf1c71faa0f02a71a3694de1e77e0749871af3
parent1216b65c502e0f130cc9984dfd5f9e1968c1eb46
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>
tools/perf/builtin-inject.c