aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/api/debug.c
diff options
context:
space:
mode:
authorWang Nan <wangnan0@huawei.com>2016-02-12 14:31:23 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-02-12 14:51:15 -0500
commita8adfceb389a0045e06af22517fa3326797b160a (patch)
tree3c664bb93406888881d40343f2682852bd7a6bd5 /tools/lib/api/debug.c
parent89fee70943232d73e3cc328634e0da253b6de9b5 (diff)
perf tools: Unlink entries from terms list
We were just freeing them, better unlink and init its nodes to catch bugs faster if we keep dangling references to them. Signed-off-by: Wang Nan <wangnan0@huawei.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexei Starovoitov <ast@kernel.org> Cc: He Kuang <hekuang@huawei.com> Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Zefan Li <lizefan@huawei.com> Cc: pi3orama@163.com [ Spun off from another patch, use list_del_init() instead of list_del() ] Link: http://lkml.kernel.org/r/1454680939-24963-2-git-send-email-wangnan0@huawei.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions