aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2015-01-16 16:40:25 -0300
committerArnaldo Carvalho de Melo <[email protected]>2015-01-21 10:06:15 -0300
commit0a3873a8e2709ebc759361e2d872d9f71541806c (patch)
tree735b7be4757a8af9f4b5fd8363440c9cdeb980fc /scripts/gdb/linux/modules.py
parent564c62a4d7f9a4b60920ee0b02cfe890471d87f4 (diff)
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 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions