diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-01-16 16:40:25 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-01-21 10:06:15 -0300 |
commit | 0a3873a8e2709ebc759361e2d872d9f71541806c (patch) | |
tree | 735b7be4757a8af9f4b5fd8363440c9cdeb980fc /scripts/diffconfig | |
parent | 564c62a4d7f9a4b60920ee0b02cfe890471d87f4 (diff) | |
download | linux-0a3873a8e2709ebc759361e2d872d9f71541806c.tar.bz2 |
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 'scripts/diffconfig')
0 files changed, 0 insertions, 0 deletions