aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2016-05-05 11:44:28 -0300
committerArnaldo Carvalho de Melo <[email protected]>2016-05-05 21:03:55 -0300
commitf58c253564815db541e93b5411c2b47dbcb2f0ea (patch)
treebe501268cc195f87c01f3b250831bdaaff86f9f6 /tools/perf/util/trace-event-scripting.c
parentd2c11034406733374d1cdc588c53bb076d95a4e2 (diff)
perf tools: Add template for generating rbtree resort class
Sometimes we want to sort an existing rbtree by a different key, introduce a template for that, that needs only to be provided the rbtree root and the number of entries in it. To do that a new rbtree will be created with extra space for each entry, where possibly pre-calculated keys will be stored to be used in the resort process and also later, when using the newly sorted rbtree. Please check the following two changesets to see it in use for resorting stats for threads and its syscalls in 'perf trace --summary'. Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Milian Wolff <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions