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>
This commit is contained in:
@@ -1976,7 +1976,7 @@ static int filter_cb(struct hist_entry *he)
|
||||
c2c_he = container_of(he, struct c2c_hist_entry, he);
|
||||
|
||||
if (c2c.show_src && !he->srcline)
|
||||
he->srcline = hist_entry__get_srcline(he);
|
||||
he->srcline = hist_entry__srcline(he);
|
||||
|
||||
calc_width(c2c_he);
|
||||
|
||||
|
Reference in New Issue
Block a user