perf tools: Rename maps__next

It really is a 'struct map' method, and since we're introducing a new
'struct maps' class, fix it to avoid confusion.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-xo9ifhk53cfl30wqcuhxpnvl@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo
2015-05-21 17:48:33 -03:00
parent 4bb11d012a
commit 4d4dee9a96
2 changed files with 3 additions and 3 deletions

View File

@@ -775,7 +775,7 @@ struct map *maps__first(struct rb_root *maps)
return NULL;
}
struct map *maps__next(struct map *map)
struct map *map__next(struct map *map)
{
struct rb_node *next = rb_next(&map->rb_node);