From: Ingo Molnar <mingo@kernel.org>
To: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org,
Andi Kleen <ak@linux.intel.com>, David Ahern <dsahern@gmail.com>,
Jin Yao <yao.jin@linux.intel.com>, Jiri Olsa <jolsa@redhat.com>,
Milian Wolff <milian.wolff@kdab.com>,
Namhyung Kim <namhyung@kernel.org>,
Peter Zijlstra <peterz@infradead.org>,
Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com>,
Arnaldo Carvalho de Melo <acme@redhat.com>
Subject: Re: [GIT PULL 00/15] perf/core inlining improvements
Date: Wed, 25 Oct 2017 19:10:47 +0200 [thread overview]
Message-ID: <20171025171047.hvskdv5t47zhstk6@gmail.com> (raw)
In-Reply-To: <20171025160013.11136-1-acme@kernel.org>
* Arnaldo Carvalho de Melo <acme@kernel.org> wrote:
> Hi Ingo,
>
> Please consider pulling, this is Milian's v7 plus some fixes
> acked by Namhyung after some discussion among the three of us, I
> probably need to pick some more patches that are related to this area,
> but lets make some progress and merge this kit,
>
> - Arnaldo
>
> Test results at the end of this message, as usual.
>
> The following changes since commit 9b7c85473cc2fa6fc4a7f87636ff2b69742b82b7:
>
> Merge tag 'perf-core-for-mingo-4.15-20171023' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2017-10-24 10:53:04 +0200)
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-4.15-20171025
>
> for you to fetch changes up to d8a88dd243a170a226aba33e7c53704db2f82aa6:
>
> perf util: Enable handling of inlined frames by default (2017-10-25 10:50:47 -0300)
>
> ----------------------------------------------------------------
> perf/core inline improvements:
>
> From Milian's cover letter: (Milian Wolff)
>
> This series of patches completely reworks the way inline frames are
> handled. Instead of querying for the inline nodes on-demand in the
> individual tools, we now create proper callchain nodes for inlined
> frames. The advantages this approach brings are numerous:
>
> - Less duplicated code in the individual browser
>
> - Aggregated cost for inlined frames for the --children top-down list
>
> - Various bug fixes that arose from querying for a srcline/symbol based on
> the IP of a sample, which will always point to the last inlined frame
> instead of the corresponding non-inlined frame
>
> - Overall much better support for visualizing cost for heavily-inlined C++
> code, which simply was confusing and unreliable before
>
> - srcline honors the global setting as to whether full paths or basenames
> should be shown
>
> - Caches for inlined frames and srcline information, which allow us to
> enable inline frame handling by default
>
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
>
> ----------------------------------------------------------------
> Milian Wolff (15):
> perf report: Remove code to handle inline frames from browsers
> perf callchain: Store srcline in callchain_cursor_node
> perf callchain: Refactor inline_list to operate on symbols
> perf callchain: Refactor inline_list to store srcline string directly
> perf callchain: Create real callchain entries for inlined frames
> perf report: Fall-back to function name comparison for -g srcline
> perf callchain: Mark inlined frames in output by " (inlined)" suffix
> perf script: Mark inlined frames and do not print DSO for them
> perf callchain: Compare symbol name for inlined frames when matching
> perf report: Compare symbol name for inlined frames when sorting
> perf report: Properly handle branch count in match_chain()
> perf report: Cache failed lookups of inlined frames
> perf report: Cache srclines for callchain nodes
> perf report: Use srcline from callchain for hist entries
> perf util: Enable handling of inlined frames by default
>
> tools/perf/Documentation/perf-report.txt | 3 +-
> tools/perf/Documentation/perf-script.txt | 3 +-
> tools/perf/ui/browsers/hists.c | 180 ++-------------------
> tools/perf/ui/stdio/hist.c | 77 +--------
> tools/perf/util/callchain.c | 174 +++++++++++---------
> tools/perf/util/callchain.h | 6 +-
> tools/perf/util/dso.c | 7 +
> tools/perf/util/dso.h | 2 +
> tools/perf/util/event.c | 1 +
> tools/perf/util/evsel_fprintf.c | 37 +----
> tools/perf/util/hist.c | 7 +-
> tools/perf/util/machine.c | 65 +++++++-
> tools/perf/util/sort.c | 6 +
> tools/perf/util/sort.h | 1 -
> tools/perf/util/srcline.c | 268 +++++++++++++++++++++++++------
> tools/perf/util/srcline.h | 26 ++-
> tools/perf/util/symbol.c | 1 +
> tools/perf/util/symbol.h | 2 +
> 18 files changed, 443 insertions(+), 423 deletions(-)
Pulled, thanks a lot Arnaldo!
Ingo
next prev parent reply other threads:[~2017-10-25 17:10 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-25 15:59 [GIT PULL 00/15] perf/core inlining improvements Arnaldo Carvalho de Melo
2017-10-25 15:59 ` [PATCH 01/15] perf report: Remove code to handle inline frames from browsers Arnaldo Carvalho de Melo
2017-10-25 16:00 ` [PATCH 02/15] perf callchain: Store srcline in callchain_cursor_node Arnaldo Carvalho de Melo
2017-10-25 16:00 ` [PATCH 03/15] perf callchain: Refactor inline_list to operate on symbols Arnaldo Carvalho de Melo
2017-10-25 16:00 ` [PATCH 04/15] perf callchain: Refactor inline_list to store srcline string directly Arnaldo Carvalho de Melo
2017-10-25 16:00 ` [PATCH 05/15] perf callchain: Create real callchain entries for inlined frames Arnaldo Carvalho de Melo
2017-10-25 16:00 ` [PATCH 06/15] perf report: Fall-back to function name comparison for -g srcline Arnaldo Carvalho de Melo
2017-10-25 16:00 ` [PATCH 07/15] perf callchain: Mark inlined frames in output by " (inlined)" suffix Arnaldo Carvalho de Melo
2017-10-25 16:00 ` [PATCH 08/15] perf script: Mark inlined frames and do not print DSO for them Arnaldo Carvalho de Melo
2017-10-25 16:00 ` [PATCH 09/15] perf callchain: Compare symbol name for inlined frames when matching Arnaldo Carvalho de Melo
2017-10-25 16:00 ` [PATCH 10/15] perf report: Compare symbol name for inlined frames when sorting Arnaldo Carvalho de Melo
2017-10-25 16:00 ` [PATCH 11/15] perf report: Properly handle branch count in match_chain() Arnaldo Carvalho de Melo
2017-10-25 16:00 ` [PATCH 12/15] perf report: Cache failed lookups of inlined frames Arnaldo Carvalho de Melo
2017-10-25 16:00 ` [PATCH 13/15] perf report: Cache srclines for callchain nodes Arnaldo Carvalho de Melo
2017-10-25 16:00 ` [PATCH 14/15] perf report: Use srcline from callchain for hist entries Arnaldo Carvalho de Melo
2017-10-25 16:00 ` [PATCH 15/15] perf util: Enable handling of inlined frames by default Arnaldo Carvalho de Melo
2017-10-25 17:10 ` Ingo Molnar [this message]
2017-10-26 9:03 ` [GIT PULL 00/15] perf/core inlining improvements Milian Wolff
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=20171025171047.hvskdv5t47zhstk6@gmail.com \
--to=mingo@kernel.org \
--cc=acme@kernel.org \
--cc=acme@redhat.com \
--cc=ak@linux.intel.com \
--cc=dsahern@gmail.com \
--cc=jolsa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=milian.wolff@kdab.com \
--cc=namhyung@kernel.org \
--cc=peterz@infradead.org \
--cc=ravi.bangoria@linux.vnet.ibm.com \
--cc=yao.jin@linux.intel.com \
/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).