perf stat: Add rbtree node_delete op
authorJin Yao <yao.jin@linux.intel.com>
Fri, 1 Dec 2017 10:57:28 +0000 (18:57 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 5 Dec 2017 13:24:31 +0000 (10:24 -0300)
commitb984aff7811bbac75b3f05931643d815067cf45c
tree7d6531dcbda282b4ffdc32990f0e63f0c5b73a5b
parent33fec3e393dc1c55737cfb9c876b5c0da0d6f380
perf stat: Add rbtree node_delete op

In current stat-shadow.c, the rbtree deleting is ignored.

The patch adds the implementation to node_delete method of rblist.

Signed-off-by: Jin Yao <yao.jin@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1512125856-22056-5-git-send-email-yao.jin@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/stat-shadow.c