]> git.karo-electronics.de Git - karo-tx-linux.git/commit
perf machine: No need to keep a refcnt for last_match
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 May 2015 21:08:12 +0000 (18:08 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 May 2015 12:59:52 +0000 (09:59 -0300)
commit0ceb8f6e6cbafee0fa0e671e48213e24fae887f7
tree0c29de24ec57b0f158465255ed3ba3d9c4fb4f16
parent8f1960138baf8a6c139917ecbc032e7916d109ef
perf machine: No need to keep a refcnt for last_match

Since it is all associated with the refcount for keeping the thread
in the rbtree, it is excessive and unecessarily complex to hold a
refcont when changing machine->last_match.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-98kuesmfwtvhsrzx7ttyb0kt@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/machine.c