Adrian Hunter a5563edfa1 perf script python: Add helpers for calling Python objects
The Python script API repeatedly uses the same lines of code to get and
call objects.  Make that into helper functions instead.

A side-effect is that some reference counting bugs disappear because the
new call_object() function always decrements the reference count of
'retval'.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1406786474-9306-19-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2014-08-13 19:22:01 -03:00
..
2013-12-27 15:17:00 -03:00
2014-05-01 21:22:39 +02:00
2014-05-01 21:22:39 +02:00
2011-02-16 13:30:48 +01:00
2012-02-13 23:17:40 -02:00
2014-07-23 17:36:36 -03:00
2014-07-23 11:25:40 -03:00
2014-08-13 17:28:07 -03:00
2014-08-13 17:28:07 -03:00
2014-07-16 17:57:33 -03:00
2014-05-21 11:48:33 +02:00
2014-05-01 21:22:39 +02:00
2014-05-01 21:22:39 +02:00
2014-05-01 21:22:39 +02:00
2014-06-09 13:34:49 +02:00
2013-08-07 17:35:26 -03:00
2014-05-01 21:22:39 +02:00
2014-07-10 00:22:54 +02:00
2014-07-10 00:22:54 +02:00
2014-07-23 17:36:36 -03:00
2014-07-23 11:27:50 -03:00
2014-07-23 11:27:50 -03:00
2014-05-01 21:22:39 +02:00
2014-07-23 11:48:11 -03:00
2014-07-23 11:48:11 -03:00
2014-05-01 21:22:39 +02:00
2014-05-01 21:22:39 +02:00