mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
perf c2c report: Add src line sort key
It is to be displayed in the single cacheline output: cl_srcline It displays source line related to the code address that accessed cacheline. It's a wrapper to global srcline sort entry. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Andi Kleen <andi@firstfloor.org> Cc: David Ahern <dsahern@gmail.com> Cc: Don Zickus <dzickus@redhat.com> Cc: Joe Mario <jmario@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/n/tip-cmnzgm37mjz56ozsg4mnbgxq@git.kernel.org [ Remove __maybe_unused from now used 'he' parameter in filter_cb() ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
b6fe2bbc34
commit
89d9ba8f58
3 changed files with 14 additions and 2 deletions
|
@ -315,7 +315,7 @@ struct sort_entry sort_sym = {
|
|||
|
||||
/* --sort srcline */
|
||||
|
||||
static char *hist_entry__get_srcline(struct hist_entry *he)
|
||||
char *hist_entry__get_srcline(struct hist_entry *he)
|
||||
{
|
||||
struct map *map = he->ms.map;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue