Re: [PATCH v2 00/14] perf: Stream comparison

Jiri Olsa
2020-03-18T10:19:35Z

On Fri, Mar 13, 2020 at 03:11:04PM +0800, Jin Yao wrote:

SNIP

>
> v2:
> ---
> Refine the codes for following patches:
> perf util: Create source line mapping table
> perf util: Create streams for managing top N hottest callchains
> perf util: Calculate the sum of all streams hits
> perf util: Add new block info functions for top N hot blocks comparison
>
> Jin Yao (14):
> perf util: Create source line mapping table
> perf util: Create streams for managing top N hottest callchains
> perf util: Return per-event callchain streams
> perf util: Compare two streams
> perf util: Calculate the sum of all streams hits
> perf util: Report hot streams
> perf diff: Support hot streams comparison
> perf util: Add new block info functions for top N hot blocks
> comparison
> perf util: Add new block info fmts for showing hot blocks comparison
> perf util: Enable block source line comparison
> perf diff: support hot blocks comparison
> perf util: Filter out streams by name of changed functions
> perf util: Filter out blocks by name of changed functions
> perf diff: Filter out streams by changed functions

I can't apply this on latest perf/core, do you have it in git tree branch?

thanks,
jirka

>
> tools/perf/Documentation/perf-diff.txt | 19 +
> tools/perf/builtin-diff.c | 324 ++++++++++++---
> tools/perf/util/Build | 1 +
> tools/perf/util/block-info.c | 433 ++++++++++++++++++-
> tools/perf/util/block-info.h | 38 +-
> tools/perf/util/callchain.c | 517 +++++++++++++++++++++++
> tools/perf/util/callchain.h | 34 ++
> tools/perf/util/srclist.c | 555 +++++++++++++++++++++++++
> tools/perf/util/srclist.h | 74 ++++
> 9 files changed, 1935 insertions(+), 60 deletions(-)
> create mode 100644 tools/perf/util/srclist.c
> create mode 100644 tools/perf/util/srclist.h
>
> --
> 2.17.1
>