perf scripting python: Use Py_FatalError instead of die()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 10 May 2016 15:33:52 +0000 (12:33 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 11 May 2016 15:24:57 +0000 (12:24 -0300)
commit62665dff754a80e2fdd214ef2ed21abb2a7d03a2
treeb7e158b4cdc55a155db755eb81bfaa3a3d36cdb2
parent38f5d8b32f36bcac1f54d4511a81e02ed8771a29
perf scripting python: Use Py_FatalError instead of die()

It probably is equivalent, but that seems to be the "pythonic" way of
dieing? Anyway, one less die() in the tools/perf codebase.

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>
Cc: Chris Phlipot <cphlipot0@gmail.com>
Link: http://lkml.kernel.org/n/tip-nlzgepdv2818zs4e7faif9tu@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/scripting-engines/trace-event-python.c