From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Mark Davis <markdavisinboston@gmail.com>
Cc: linux-perf-users@vger.kernel.org, Jiri Olsa <jolsa@kernel.org>,
Namhyung Kim <namhyung@kernel.org>
Subject: Re: Comparing output of two perf cpu profiling reports
Date: Thu, 28 Apr 2016 11:16:43 -0300 [thread overview]
Message-ID: <20160428141643.GA3386@kernel.org> (raw)
In-Reply-To: <CAPe7T+9fYXHWa7X4x-su6LujYuOFv7BB7j-jCcdH-hw3oQM9Vw@mail.gmail.com>
Em Thu, Apr 28, 2016 at 09:27:07AM -0400, Mark Davis escreveu:
> Hi, what is the recommend way to compare two different perf reports
> from CPU event profiling (via sampling with perf record)?
> I'm comparing two macro benchmarks, with a couple small implementation
> details between the two.
> Right now I'm manually comparing the output of perf report to
> determine the salient differences.
> However, I'm wondering if there's a tool or otherwise best practice to
> essentially "diff" the two outputs.
> I could just use diff on the --stdio version of the reports, but
> sometimes lines get mangled and I loose context/hierarchy.
Can you try:
perf diff --help
- Arnaldo
next prev parent reply other threads:[~2016-04-28 14:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-28 13:27 Comparing output of two perf cpu profiling reports Mark Davis
2016-04-28 13:30 ` Alex Bagehot
2016-04-28 14:16 ` Arnaldo Carvalho de Melo [this message]
2016-04-28 14:17 ` Mark Davis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160428141643.GA3386@kernel.org \
--to=acme@kernel.org \
--cc=jolsa@kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=markdavisinboston@gmail.com \
--cc=namhyung@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).