perf srcline: Make hist_entry srcline helper consistent with map's
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 28 May 2018 14:06:58 +0000 (11:06 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 4 Jun 2018 13:28:53 +0000 (10:28 -0300)
commit6a53da05c433284252c9363043bf3d8a5789cfca
tree774d04af64d86e9fd6628147ec549dd762ab52ef
parentbfa63519fb94fd8b4b0e5ffcd8bde650ea8b20c1
perf srcline: Make hist_entry srcline helper consistent with map's

No need to have "get_srcline", plain hist_entry__srcline() is enough and
shorter.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-irhzpfmgdaf6cyk0uqqexoh9@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-c2c.c
tools/perf/util/sort.c
tools/perf/util/sort.h