]> git.openpandora.org Git - pandora-kernel.git/commitdiff
perf symbols: Introduce 'for' method to iterate over the symbols with a given name
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 16 Jan 2015 19:40:25 +0000 (16:40 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Jan 2015 13:06:15 +0000 (10:06 -0300)
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>

No differences found