diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2015-05-29 16:33:29 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-05-29 12:43:39 -0300 |
commit | 427cde3287f2c6349f308d0e22c9223f9ea05ef1 (patch) | |
tree | 0bdbdbc55612ffda2b4a1702073760dc8a551a3f /tools/perf/tests/open-syscall-tp-fields.c | |
parent | 60fb7742928dab3c6a0fec7f2d2cce26d9366a3c (diff) | |
download | linux-427cde3287f2c6349f308d0e22c9223f9ea05ef1.tar.bz2 |
perf db-export: Fix thread ref-counting
Thread ref-counting was not done for get_main_thread() meaning that
there was a thread__get() from machine__find_thread() that was not being
paired with thread__put(). Fix that.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1432906425-9911-2-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/open-syscall-tp-fields.c')
0 files changed, 0 insertions, 0 deletions