diff options
author | 2015-01-16 16:40:25 -0300 | |
---|---|---|
committer | 2015-01-21 10:06:15 -0300 | |
commit | 0a3873a8e2709ebc759361e2d872d9f71541806c (patch) | |
tree | 735b7be4757a8af9f4b5fd8363440c9cdeb980fc /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | perf probe: Do not rely on map__load() filter to find symbols (diff) | |
download | wireguard-linux-0a3873a8e2709ebc759361e2d872d9f71541806c.tar.xz wireguard-linux-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 <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Link: http://lkml.kernel.org/n/tip-eh73z8gthv20yowirmx2yk38@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions