diff options
author | Jin Yao <yao.jin@linux.intel.com> | 2020-10-09 10:28:41 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-10-14 13:31:56 -0300 |
commit | 47ef8398c369fa77e0fdbadfebb3885879491721 (patch) | |
tree | 75c63ae3cd6412a4704cc9d786191759ea5d377c /scripts/module-common.lds | |
parent | dd1d841810158086086417133a22c90dfabaeecb (diff) | |
download | linux-47ef8398c369fa77e0fdbadfebb3885879491721.tar.bz2 |
perf streams: Compare two streams
Stream is the branch history which is aggregated by the branch records
from perf samples. Now we support the callchain as stream.
If the callchain entries of one stream are fully matched with the
callchain entries of another stream, we think two streams are matched.
For example,
cycles: 1, hits: 26.80% cycles: 1, hits: 27.30%
----------------------- -----------------------
main div.c:39 main div.c:39
main div.c:44 main div.c:44
Above two streams are matched (we don't consider the case that source
code is changed).
The matching logic is, compare the chain string first. If it's not
matched, fallback to dso address comparison.
Signed-off-by: Jin Yao <yao.jin@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20201009022845.13141-4-yao.jin@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/module-common.lds')
0 files changed, 0 insertions, 0 deletions