summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2015-11-26 10:08:18 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-11-26 19:32:08 +0300
commit0356218a68551f051998f4fb5074a1eed7a346fe (patch)
treec599e54a2a67135df7f4a94127672ca3ddba4922 /tools/perf/builtin-script.c
parentb49a8fe52626814968b9a9d27d7ad1cadc5532ed (diff)
downloadlinux-0356218a68551f051998f4fb5074a1eed7a346fe.tar.xz
perf top: Fix freeze on --call-graph flat/folded
The callchain rbtree is rebuilt periodically, so it needs to reinitialize the root everytime. Otherwise it can be stuck in the rbtree insertion with stale pointers. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: Andi Kleen <andi@firstfloor.org> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Kan Liang <kan.liang@intel.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/r/1448521700-32062-1-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions