diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2019-11-13 16:06:28 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-11-13 16:06:28 -0300 |
commit | bcb8af5c46e452018de9b58db1fd0ffd94b5d96c (patch) | |
tree | 72fb91d893c4896098430d22c7f87ab2b47b673c /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | af833988c088d3fed3e7188e7c3dd9ca17178dc3 (diff) |
perf maps: Purge the entries from maps->names in __maps__purge()
No need to iterate via the ->names rbtree, as all the entries there
as in maps->entries as well, reuse __maps__purge() for that.
Doing it this way we can kill maps__for_each_entry_by_name(),
maps__for_each_entry_by_name_safe(), maps__{first,next}_by_name().
Cc: Adrian Hunter <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions