diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2015-01-16 19:40:25 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-01-21 13:06:15 +0000 |
| commit | 0a3873a8e2709ebc759361e2d872d9f71541806c (patch) | |
| tree | 735b7be4757a8af9f4b5fd8363440c9cdeb980fc /tools/perf/util/python.c | |
| parent | perf probe: Do not rely on map__load() filter to find symbols (diff) | |
| download | kernel-0a3873a8e2709ebc759361e2d872d9f71541806c.tar.gz kernel-0a3873a8e2709ebc759361e2d872d9f71541806c.zip | |
perf symbols: Introduce 'for' method to iterate over the symbols with a given name
Removing boilerplate from two places, where one would have to find the
first entry, then iterate using symbol__next_by_name + strcmp to see if
the next member had the same name.
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Masami Hiramatsu <[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/python.c')
0 files changed, 0 insertions, 0 deletions
