Searched hist:"23 f0981bbd89fcc1496d0490ec39ca7c91599e32" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/tools/perf/util/ |
H A D | srcline.c | diff 23f0981bbd89fcc1496d0490ec39ca7c91599e32 Wed Nov 12 20:05:24 CST 2014 Andi Kleen <ak@linux.intel.com> perf callchain: Enable printing the srcline in the history
For lbr-as-callgraph we need to see the line number in the history, because many LBR entries can be in a single function, and just showing the same function name many times is not useful.
When the history code is configured to sort by address, also try to resolve the address to a file:srcline and display this in the browser. If that doesn't work still display the address.
This can be also useful without LBRs for understanding which call in a large function (or in which inlined function) called something else.
Contains fixes from Namhyung Kim
v2: Refactor code into common function v3: Fix GTK build v4: Rebase
Signed-off-by: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Link: http://lkml.kernel.org/r/1415844328-4884-7-git-send-email-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
|
H A D | callchain.h | diff 23f0981bbd89fcc1496d0490ec39ca7c91599e32 Wed Nov 12 20:05:24 CST 2014 Andi Kleen <ak@linux.intel.com> perf callchain: Enable printing the srcline in the history
For lbr-as-callgraph we need to see the line number in the history, because many LBR entries can be in a single function, and just showing the same function name many times is not useful.
When the history code is configured to sort by address, also try to resolve the address to a file:srcline and display this in the browser. If that doesn't work still display the address.
This can be also useful without LBRs for understanding which call in a large function (or in which inlined function) called something else.
Contains fixes from Namhyung Kim
v2: Refactor code into common function v3: Fix GTK build v4: Rebase
Signed-off-by: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Link: http://lkml.kernel.org/r/1415844328-4884-7-git-send-email-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
|
H A D | callchain.c | diff 23f0981bbd89fcc1496d0490ec39ca7c91599e32 Wed Nov 12 20:05:24 CST 2014 Andi Kleen <ak@linux.intel.com> perf callchain: Enable printing the srcline in the history
For lbr-as-callgraph we need to see the line number in the history, because many LBR entries can be in a single function, and just showing the same function name many times is not useful.
When the history code is configured to sort by address, also try to resolve the address to a file:srcline and display this in the browser. If that doesn't work still display the address.
This can be also useful without LBRs for understanding which call in a large function (or in which inlined function) called something else.
Contains fixes from Namhyung Kim
v2: Refactor code into common function v3: Fix GTK build v4: Rebase
Signed-off-by: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Link: http://lkml.kernel.org/r/1415844328-4884-7-git-send-email-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
|