perf scripting perl: Do not die() when not founding event for a type
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 24 Jan 2017 16:19:06 +0000 (13:19 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 Jan 2017 14:42:59 +0000 (11:42 -0300)
commit0a87e7bc6c55dd248270ee0ab4212cd0ef8ea04a
tree9c049a1417973f736eb37b09f0396ba6aa4dd54d
parente28ff1a8382ee02b10cf11cf3b48541dc3d14a58
perf scripting perl: Do not die() when not founding event for a type

Do just like handling other cases i.e. print some debug message and
ignore the sample.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-t7kzlm3cxyvbd7d9n9554ai9@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/scripting-engines/trace-event-perl.c