[tip:perf/urgent] perf script python: Fix dict reference counting

2018-07-12 Thread tip-bot for Janne Huttunen
Commit-ID: db0ba84c04ef2cf293aaada5ae97531127844d9d Gitweb: https://git.kernel.org/tip/db0ba84c04ef2cf293aaada5ae97531127844d9d Author: Janne Huttunen AuthorDate: Mon, 9 Jul 2018 13:59:50 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 11 Jul 2018 09:45:24 -0400 perf script

[PATCH v2] perf script python: Fix dict reference counting

2018-07-09 Thread Janne Huttunen
still in use. This may trigger various other assertions or just cause perf crashes and/or weird and unexpected data changes in the stored Python objects. Signed-off-by: Janne Huttunen --- tools/perf/util/scripting-engines/trace-event-python.c | 8 ++-- 1 file changed, 2 insertions(+), 6

Re: [PATCH] perf script python: Fix dict reference counting

2018-07-09 Thread Janne Huttunen
On Sun, 2018-07-08 at 13:17 +0200, Jiri Olsa wrote: > On Fri, Jul 06, 2018 at 09:53:44AM +0300, Janne Huttunen wrote: > > > > The dictionaries are attached to the parameter tuple that steals the > > references. The code should not decrement the reference counters > >

[PATCH] perf script python: Fix dict reference counting

2018-07-06 Thread Janne Huttunen
unexpected data changes in stored objects. Signed-off-by: Janne Huttunen --- tools/perf/util/scripting-engines/trace-event-python.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace