diff options
| author | Jin Yao <[email protected]> | 2017-12-01 10:57:25 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-12-05 13:24:31 +0000 |
| commit | 33fec3e393dc1c55737cfb9c876b5c0da0d6f380 (patch) | |
| tree | 12da9860e4e7d26ad85a99b6ecd5127d0a9d9fec /tools/perf/util/python.c | |
| parent | perf annotate: Fix objdump comment parsing for Intel mov dissassembly (diff) | |
| download | kernel-33fec3e393dc1c55737cfb9c876b5c0da0d6f380.tar.gz kernel-33fec3e393dc1c55737cfb9c876b5c0da0d6f380.zip | |
perf rblist: Create rblist__exit() function
Currently we have a rblist__delete() which is used to delete a rblist.
While rblist__delete() will free the pointer of rblist at the end.
It's an inconvenience for the user to delete a rblist which is not
allocated by something like malloc(). For example, the rblist is
embedded in a larger data structure.
This patch creates a new function rblist__exit() which is similar to
rblist__delete() but it will not free the pointer of rblist.
Signed-off-by: Jin Yao <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions
