Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1203150

Re: [PATCH] perf, tools, report: Add support for srcfile sort key

From Andi Kleen <andi@firstfloor.org>
Newsgroups linux.kernel
Subject Re: [PATCH] perf, tools, report: Add support for srcfile sort key
Date 2015-08-08 04:30 +0200
Message-ID <pV23v-22f-1@gated-at.bofh.it> (permalink)
References <pUYMi-5gn-13@gated-at.bofh.it> <pUZIm-6OQ-19@gated-at.bofh.it> <pUZS1-7k6-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Aug 07, 2015 at 09:02:15PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Fri, Aug 07, 2015 at 08:51:45PM -0300, Arnaldo Carvalho de Melo escreveu:
> > Em Fri, Aug 07, 2015 at 03:54:24PM -0700, Andi Kleen escreveu:
> > > From: Andi Kleen <ak@linux.intel.com>
> > > 
> > > In some cases it's useful to characterize samples by file. This is useful
> > > to get a higher level categorization, for example to map cost to
> > > subsystems.
> > > 
> > > Add a srcfile sort key to perf report. It builds on top of the existing
> > > srcline support.
> > 
> > Applied
> 
> Humm, holding this up a bit, further testing showed some oddities,
> fedora21, the width of the column is being limited to the lenght of the
> header

Yes I've seen that, I just use -w normally. It also happens with --sort
srcline. The column sizing code could probably be somewhat smarter and
always allow the last column to become as wide as needed. But that's
something that should be done separately; I don't think it belongs
into this patch.

> and there are some DWARF errors, have you noticed those?

No I didn't. Some generic issue, likely happening with srcline and
perhaps even objdump -S too. Find out with strace what file it is.

-Andi

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] perf, tools, report: Add support for srcfile sort key Andi Kleen <andi@firstfloor.org> - 2015-08-08 01:00 +0200
  Re: [PATCH] perf, tools, report: Add support for srcfile sort key Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-08-08 02:00 +0200
    Re: [PATCH] perf, tools, report: Add support for srcfile sort key Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-08-08 02:10 +0200
      Re: [PATCH] perf, tools, report: Add support for srcfile sort key Andi Kleen <andi@firstfloor.org> - 2015-08-08 04:30 +0200
        Re: [PATCH] perf, tools, report: Add support for srcfile sort key Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-08-08 19:30 +0200
        Re: [PATCH] perf, tools, report: Add support for srcfile sort key Namhyung Kim <namhyung@kernel.org> - 2015-08-09 05:40 +0200
          Re: [PATCH] perf, tools, report: Add support for srcfile sort key Andi Kleen <andi@firstfloor.org> - 2015-08-09 18:10 +0200
            Re: [PATCH] perf, tools, report: Add support for srcfile sort key Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-08-10 17:00 +0200
          Re: [PATCH] perf, tools, report: Add support for srcfile sort key Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-08-10 18:20 +0200
            Re: [PATCH] perf, tools, report: Add support for srcfile sort key Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-08-10 20:40 +0200
              Re: [PATCH] perf, tools, report: Add support for srcfile sort key Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-08-10 22:40 +0200
                Re: [PATCH] perf, tools, report: Add support for srcfile sort key Namhyung Kim <namhyung@kernel.org> - 2015-08-11 04:50 +0200
  [tip:perf/core] perf report: Add support for srcfile sort key tip-bot for Andi Kleen <tipbot@zytor.com> - 2015-08-12 14:40 +0200

csiph-web