Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1209074
| Path | csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Adrian Hunter <adrian.hunter@intel.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH V8 08/25] perf tools: Add Intel BTS support |
| Date | Tue, 18 Aug 2015 08:50:02 +0200 |
| Message-ID | <pYISC-6MD-15@gated-at.bofh.it> (permalink) |
| References | <pNgQ2-2sV-13@gated-at.bofh.it> <pNgQ3-2sV-45@gated-at.bofh.it> <pYuZk-3nQ-11@gated-at.bofh.it> <pYwHM-5TN-17@gated-at.bofh.it> <pYwRt-654-23@gated-at.bofh.it> <pYxXc-7RH-21@gated-at.bofh.it> <pYyTf-Mb-13@gated-at.bofh.it> |
| X-Original-To | Arnaldo Carvalho de Melo <acme@kernel.org> |
| X-Extloop1 | 1 |
| X-Ironport-Av | E=Sophos;i="5.15,699,1432623600"; d="scan'208";a="750631570" |
| Organization | Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252 |
| Content-Transfer-Encoding | 7bit |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 83 |
| X-Original-Cc | Ingo Molnar <mingo@kernel.org>, linux-kernel@vger.kernel.org, Jiri Olsa <jolsa@redhat.com> |
| X-Original-Date | Tue, 18 Aug 2015 09:39:46 +0300 |
| X-Original-Message-ID | <55D2D332.1060409@intel.com> |
| X-Original-References | <1437150840-31811-1-git-send-email-adrian.hunter@intel.com> <1437150840-31811-9-git-send-email-adrian.hunter@intel.com> <20150817155243.GA30444@kernel.org> <55D21D2D.5010409@intel.com> <20150817175836.GB30444@kernel.org> <55D23166.8060502@intel.com> <20150817195823.GC30444@kernel.org> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1209074 |
Show key headers only | View raw
On 17/08/15 22:58, Arnaldo Carvalho de Melo wrote: > Em Mon, Aug 17, 2015 at 10:09:26PM +0300, Adrian Hunter escreveu: >> On 17/08/2015 8:58 p.m., Arnaldo Carvalho de Melo wrote: >>> Em Mon, Aug 17, 2015 at 08:43:09PM +0300, Adrian Hunter escreveu: >>>> On 17/08/2015 6:52 p.m., Arnaldo Carvalho de Melo wrote: >>>>> 1.92% usleep [unknown] [.] 0x00007fa0ff695086 >>>>> 1.60% usleep [unknown] [.] 0xffffffff811c91d0 >>>>> 1.48% usleep [unknown] [.] 0x00007fa0ffb3030d >>>>> 1.24% usleep [unknown] [.] 0x00007fa0ff6950c7 >>> >>>> It is very weird that it doesn't know the dso. >>> >>>> I presume there is nothing unusual about the environment e.g. in a chroot or anything >>> >>>> What if you try a different event e.g. perf record --per-thread -e cycles sleep 1 >>> >>> [root@zoo ~]# perf record --per-thread -e cycles sleep 1 >>> [ perf record: Woken up 1 times to write data ] >>> [ perf record: Captured and wrote 0.014 MB perf.data (9 samples) ] >>> [root@zoo ~]# perf report | grep -v ^# | head -5 >>> 42.57% sleep libc-2.20.so [.] malloc_hook_ini >>> 41.81% sleep [kernel.vmlinux] [k] filemap_fault >>> 14.35% sleep [kernel.vmlinux] [k] flush_tlb_mm_range >>> 1.18% sleep [kernel.vmlinux] [k] strlcpy >>> 0.09% sleep [kernel.vmlinux] [k] native_write_msr_safe >>> [root@zoo ~]# >>> >>> [root@zoo ~]# perf report --dsos libc-2.20.so | grep -v '^[#]' >>> 42.57% sleep [.] malloc_hook_ini >>> >>> [root@zoo ~]# >>> >>> [root@zoo ~]# perf record --per-thread -e intel_bts// usleep 1 >>> [ perf record: Woken up 1 times to write data ] >>> [ perf record: Captured and wrote 1.825 MB perf.data ] >>> [root@zoo ~]# perf report | grep -v ^# | head -5 >>> Warning: >>> 79074 instruction trace errors >>> 2.80% usleep [unknown] [.] 0x00007f48888aa061 >>> [root@zoo ~]# >> >> Running out of ideas. Can you somehow share or send me the offending perf.data file? > > http://vger.kernel.org/~acme/perf/perf.data.intel_bts-4.2.0-rc5+.xz Says: You don't have permission to access /~acme/perf/perf.data.intel_bts-4.2.0-rc5+.xz on this server. > > It works if I use a tip/master kernel: > > [root@perf4 ~]# uname -r > 4.2.0-rc7+ > [root@perf4 ~]# uname -r > 4.2.0-rc7+ > [root@perf4 ~]# perf record --per-thread -e intel_bts// usleep 1 > [ perf record: Woken up 1 times to write data ] > [ perf record: Captured and wrote 1.785 MB perf.data ] > [root@perf4 ~]# dmesg | grep Performance > [ 0.188477] Performance Events: PEBS fmt2+, 16-deep LBR, Broadwell > events, full-width counters, Intel PMU driver. > [root@perf4 ~]# perf report --stdio | grep -v ^# | head -10 > > > > > 10.81% usleep libc-2.17.so [.] _dl_addr > 6.56% usleep [kernel.kallsyms] [.] unmap_single_vma > 3.33% usleep ld-2.17.so [.] strcmp > 2.53% usleep [kernel.kallsyms] [.] mem_cgroup_begin_page_stat > 2.49% usleep ld-2.17.so [.] _dl_lookup_symbol_x > 2.39% usleep ld-2.17.so [.] _dl_relocate_object > [root@perf4 ~]# > > Probably some fix for the kernel driver is missing? Works for me though. -- 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 | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH V8 08/25] perf tools: Add Intel BTS support Adrian Hunter <adrian.hunter@intel.com> - 2015-08-17 19:50 +0200
Re: [PATCH V8 08/25] perf tools: Add Intel BTS support Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-08-17 20:00 +0200
Re: [PATCH V8 08/25] perf tools: Add Intel BTS support Adrian Hunter <adrian.hunter@intel.com> - 2015-08-17 21:10 +0200
Re: [PATCH V8 08/25] perf tools: Add Intel BTS support Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-08-17 22:10 +0200
Re: [PATCH V8 08/25] perf tools: Add Intel BTS support Adrian Hunter <adrian.hunter@intel.com> - 2015-08-18 08:50 +0200
Re: [PATCH V8 08/25] perf tools: Add Intel BTS support Adrian Hunter <adrian.hunter@intel.com> - 2015-08-18 11:20 +0200
Re: [PATCH V8 08/25] perf tools: Add Intel BTS support Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-08-18 18:20 +0200
csiph-web