diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2015-06-01 12:01:02 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-06-08 10:31:34 -0300 |
commit | 9f2de31542f1ac38a15117f90ee6b8449951d86e (patch) | |
tree | f16cf299c26559b8fcfdee3e9a76122a9dd78a4b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 457ae94ae047330e75c13f28ead6de31eab245ed (diff) |
perf machine: Fix up some more method names
Calling the function 'machine__new_module' implies a new 'module' will
be allocated, when in fact what is returned is a 'struct map' instance,
that not necessarily will be instantiated, as if one already exists with
the given module name, it will be returned instead.
So be consistent with other "find and if not there, create" like
functions, like machine__findnew_thread, machine__findnew_dso, etc, and
rename it to machine__findnew_module_map(), that in turn will call
machine__findnew_module_dso().
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions