linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ingo Molnar <mingo@kernel.org>,
	linux-kernel@vger.kernel.org, Jiri Olsa <jolsa@redhat.com>,
	Stephane Eranian <eranian@google.com>
Subject: Re: [PATCH V6 08/17] perf tools: Add Intel PT support
Date: Thu, 25 Jun 2015 20:56:34 -0300	[thread overview]
Message-ID: <20150625235634.GA6633@kernel.org> (raw)
In-Reply-To: <20150625134557.GB3253@kernel.org>

Em Thu, Jun 25, 2015 at 10:45:57AM -0300, Arnaldo Carvalho de Melo escreveu:
> Em Thu, Jun 25, 2015 at 04:37:01PM +0300, Adrian Hunter escreveu:
> > On 23/06/15 18:15, Arnaldo Carvalho de Melo wrote:
> > > Em Tue, Jun 23, 2015 at 09:29:34AM +0300, Adrian Hunter escreveu:
> > >> On 23/06/15 02:00, Arnaldo Carvalho de Melo wrote:
> > >>> [root@zoo ~]# rpm -q glibc-debuginfo
> > >>> glibc-debuginfo-2.20-8.fc21.x86_64
> > > 
> > >>> But then, it didn't even resolve the DSO, which it should, as I did manually :-/
> > > 
> > >>> Will continue investigating... Perhaps this is fixed in another patch? What I
> > >>> have test merged so far is at my tmp.perf/pt branch.
> > > 
> > >> I tried the same commands with perf tools from that branch (tmp.perf/pt) and
> > >> it seemed to work fine.
> > > 
> > >> One reason for not getting symbols is compiling perf tools without ELF support.
> > > 
> > > sure, but that is not the case here. But yeah, I'll try and triple check
> > > everything, next time will add the list of features detected to the
> > > problem report, so that you know which features were detected.
> > 
> > How is it going?
> 
> Yesterday was a holiday here, so no progress, will let you know when I
> make some.

So, now using the 4.1+ kernel, and the results seems to be the expected
ones for intel_bts//u:

[root@zoo ~]# perf record --per-thread -e intel_bts//u  ls
anaconda-ks.cfg  b  bin  lib64	libexec  new  old  perf.data
perf.data.old  stream_test  tg.run
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 1.274 MB perf.data ]
[root@zoo ~]# perf report
[root@zoo ~]# perf evlist
intel_bts//u
dummy:u
[root@zoo ~]# perf report --stdio
# To display the perf.data header info, please use --header/--header-only options.
#
# Total Lost Samples: 0
#
# Samples: 0  of event 'intel_bts//u'
# Event count (approx.): 0
#
# Overhead  Command  Shared Object  Symbol
# ........  .......  .............  ......

# Samples: 0  of event 'dummy:u'
# Event count (approx.): 0
#
# Overhead  Command  Shared Object  Symbol
# ........  .......  .............  ......

# Samples: 55K of event 'branches:u'
# Event count (approx.): 55012
#
# Overhead  Command  Shared Object       Symbol                                
# ........  .......  ..................  ......................................
#
    15.73%  ls       ld-2.20.so          [.] strcmp                            
    15.63%  ls       libc-2.20.so        [.] _dl_addr                          
    10.08%  ls       ld-2.20.so          [.] do_lookup_x                       
     7.00%  ls       ld-2.20.so          [.] _dl_name_match_p                  
     6.47%  ls       ld-2.20.so          [.] _dl_lookup_symbol_x               
     4.96%  ls       ld-2.20.so          [.] _dl_relocate_object               
     2.97%  ls       ls                  [.] quotearg_buffer_restyled          
     2.79%  ls       libc-2.20.so        [.] getenv                            
     1.95%  ls       ld-2.20.so          [.] _dl_cache_libcmp                  
     1.76%  ls       ld-2.20.so          [.] check_match.isra.0                
     1.64%  ls       libc-2.20.so        [.] __memmove_sse2                    
     1.47%  ls       ld-2.20.so          [.] _dl_map_object_deps               
     1.27%  ls       ld-2.20.so          [.] _dl_map_object_from_fd            
     1.17%  ls       ls                  [.] quote_name                        

---------------------------------------------------------------------

Will do the same tests with intel_pt as well, on a remote machine, add examples
to the changeset logs and everything going well, aim for pushing for Ingo soon,

Thanks,

- Arnaldo

  reply	other threads:[~2015-06-25 23:56 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-29 13:33 [PATCH V6 00/17] perf tools: Introduce an abstraction for AUX Area and Instruction Tracing Adrian Hunter
2015-05-29 13:33 ` [PATCH V6 01/17] perf db-export: Fix thread ref-counting Adrian Hunter
2015-05-29 18:35   ` [tip:perf/core] " tip-bot for Adrian Hunter
2015-05-29 13:33 ` [PATCH V6 02/17] perf tools: Ensure thread-stack is flushed Adrian Hunter
2015-06-18 21:56   ` Arnaldo Carvalho de Melo
2015-06-19  5:50     ` Adrian Hunter
2015-06-19 23:15   ` [tip:perf/core] " tip-bot for Adrian Hunter
2015-05-29 13:33 ` [PATCH V6 03/17] perf auxtrace: Add Intel PT as an AUX area tracing type Adrian Hunter
2015-05-29 13:33 ` [PATCH V6 04/17] perf tools: Add Intel PT packet decoder Adrian Hunter
2015-05-29 13:33 ` [PATCH V6 05/17] perf tools: Add Intel PT instruction decoder Adrian Hunter
2015-06-18 22:29   ` Arnaldo Carvalho de Melo
2015-06-19 15:44     ` Arnaldo Carvalho de Melo
2015-06-22 12:40       ` Adrian Hunter
2015-05-29 13:33 ` [PATCH V6 06/17] perf tools: Add Intel PT log Adrian Hunter
2015-05-29 13:33 ` [PATCH V6 07/17] perf tools: Add Intel PT decoder Adrian Hunter
2015-05-29 13:33 ` [PATCH V6 08/17] perf tools: Add Intel PT support Adrian Hunter
2015-06-19 16:04   ` Arnaldo Carvalho de Melo
2015-06-19 16:22     ` Arnaldo Carvalho de Melo
2015-06-19 19:33     ` Adrian Hunter
2015-06-19 19:41       ` Arnaldo Carvalho de Melo
2015-06-22 18:24         ` Arnaldo Carvalho de Melo
2015-06-22 20:26           ` Adrian Hunter
2015-06-22 23:00             ` Arnaldo Carvalho de Melo
2015-06-23  6:29               ` Adrian Hunter
2015-06-23 15:15                 ` Arnaldo Carvalho de Melo
2015-06-25 13:37                   ` Adrian Hunter
2015-06-25 13:45                     ` Arnaldo Carvalho de Melo
2015-06-25 23:56                       ` Arnaldo Carvalho de Melo [this message]
2015-06-26  0:09                         ` Arnaldo Carvalho de Melo
2015-06-26  6:48                           ` Adrian Hunter
2015-06-26 13:41                             ` Arnaldo Carvalho de Melo
2015-06-26 13:47                               ` Adrian Hunter
2015-06-26 15:08                                 ` Arnaldo Carvalho de Melo
2015-06-26 20:34                             ` Arnaldo Carvalho de Melo
2015-05-29 13:33 ` [PATCH V6 09/17] perf tools: Take Intel PT into use Adrian Hunter
2015-05-29 13:33 ` [PATCH V6 10/17] perf tools: Allow auxtrace data alignment Adrian Hunter
2015-06-25  7:58   ` [tip:perf/core] " tip-bot for Adrian Hunter
2015-05-29 13:33 ` [PATCH V6 11/17] perf tools: Add Intel BTS support Adrian Hunter
2015-05-29 13:33 ` [PATCH V6 12/17] perf tools: Output sample flags and insn_len from intel_pt Adrian Hunter
2015-05-29 13:33 ` [PATCH V6 13/17] perf tools: Output sample flags and insn_len from intel_bts Adrian Hunter
2015-05-29 13:33 ` [PATCH V6 14/17] perf tools: Intel PT to always update thread stack trace number Adrian Hunter
2015-05-29 13:33 ` [PATCH V6 15/17] perf tools: Intel BTS " Adrian Hunter
2015-06-19 16:11   ` Arnaldo Carvalho de Melo
2015-06-22 12:38     ` Adrian Hunter
2015-06-22 14:33       ` Arnaldo Carvalho de Melo
2015-05-29 13:33 ` [PATCH V6 16/17] perf tools: Put itrace options into an asciidoc include Adrian Hunter
2015-05-29 13:33 ` [PATCH V6 17/17] perf tools: Add example call-graph script Adrian Hunter

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=20150625235634.GA6633@kernel.org \
    --to=acme@kernel.org \
    --cc=adrian.hunter@intel.com \
    --cc=eranian@google.com \
    --cc=jolsa@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@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).