aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2015-05-25 15:23:05 -0300
committerArnaldo Carvalho de Melo <[email protected]>2015-05-27 12:21:45 -0300
commit0170b14f5f5462524d05ee96275b7a0a0d34ae77 (patch)
tree973df99dee6be3910da08d15ec9e079d7b0e3ed9 /tools/perf/scripts/python/bin
parent9402e23f90c5a672db7170e4c0f1fc80ca8c009a (diff)
perf machine: Mark removed threads as such
We use: BUG_ON(!RB_EMPTY_NODE(&thread->rb_node)); in the thread destructor as a debugging check to find out about possibly still referenced thread instances being deleted, to do that we need to make sure we use RB_CLEAR_NODE() right after rb_erase(), i.e. that we use the newly introduced rb_erase_init(), that works just like list_del_init(). Cc: Adrian Hunter <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: David Ahern <[email protected]> Cc: Don Zickus <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions