[PATCH v4 3/7] perf util: Compare two streams

2020-08-25 Thread Jin Yao
Stream is the branch history which is aggregated by the branch records from perf samples. Now we only 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:

[PATCH v4 3/7] perf util: Compare two streams

2020-05-25 Thread Jin Yao
Stream is the branch history which is aggregated by the branch records from perf samples. Now we only 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: