From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752177AbdFNOqs (ORCPT ); Wed, 14 Jun 2017 10:46:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:38662 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751705AbdFNOqq (ORCPT ); Wed, 14 Jun 2017 10:46:46 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 46420219A7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=acme@kernel.org Date: Wed, 14 Jun 2017 11:46:42 -0300 From: Arnaldo Carvalho de Melo To: Ingo Molnar , Jiri Olsa Cc: linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo , Adrian Hunter , Alexander Shishkin , David Ahern , Namhyung Kim , Peter Zijlstra , Wang Nan Subject: Re: [PATCH 1/2] perf evsel: Fix probing of precise_ip level for default cycles event Message-ID: <20170614144642.GF32020@kernel.org> References: <20170613232343.4365-1-acme@kernel.org> <20170613232343.4365-2-acme@kernel.org> <20170614054500.exocsybw2qkug5tn@gmail.com> <20170614132947.GC32020@kernel.org> <20170614140601.urfu7p3vbe7qnt2u@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170614140601.urfu7p3vbe7qnt2u@gmail.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Wed, Jun 14, 2017 at 04:06:01PM +0200, Ingo Molnar escreveu: > > * Arnaldo Carvalho de Melo wrote: > > > Em Wed, Jun 14, 2017 at 07:45:01AM +0200, Ingo Molnar escreveu: > > > triton:~/tip> perf report --stdio > > > unwind: target platform=x86 is not supported > > > unwind: target platform=x86 is not supported > > > unwind: target platform=x86 is not supported > > > unwind: target platform=x86 is not supported > > > unwind: target platform=x86 is not supported > > > unwind: target platform=x86 is not supported > > > unwind: target platform=x86 is not supported > > > unwind: target platform=x86 is not supported > > > > > # ======== > > > # captured on: Wed Jun 14 07:34:42 2017 > > > # hostname : triton > > > # os release : 4.10.0-23-generic > > > # perf version : 4.12.rc5.g9688eb > > > # arch : x86_64 > > > # nrcpus online : 12 > > > # nrcpus avail : 12 > > > # cpudesc : Intel(R) Core(TM) i7-4960X CPU @ 3.60GHz > > > # cpuid : GenuineIntel,6,62,4 > > > # total memory : 65917012 kB > > > # cmdline : /home/mingo/bin/perf record /home/mingo/hackbench 10 > > > > > let me know if you need more info. > > > > > > Btw., note that there's also this warning: > > > > > > unwind: target platform=x86 is not supported > > > > > > (but that's unrelated to this commit.) > > > > Ok, what distro? Do you have libunwind-devel installed? [...] > > Ubuntu, and the build says: > > Auto-detecting system features: > ... dwarf: [ on ] > ... dwarf_getlocations: [ on ] > ... glibc: [ on ] > ... gtk2: [ on ] > ... libaudit: [ on ] > ... libbfd: [ on ] > ... libelf: [ on ] > ... libnuma: [ on ] > ... numa_num_possible_cpus: [ on ] > ... libperl: [ on ] > ... libpython: [ on ] > ... libslang: [ on ] > ... libcrypto: [ on ] > ... libunwind: [ on ] > ... libdw-dwarf-unwind: [ on ] > ... zlib: [ on ] > ... lzma: [ on ] > ... get_cpuid: [ on ] > ... bpf: [ on ] > > so it's a maximum-features build, right? > > Here's the unwind libraries: > > triton:~/tip> dpkg -l | grep unwind > ii libunwind-dev 1.1-4.1ubuntu2 amd64 library to determine the call-chain of a program - development > ii libunwind8 1.1-4.1ubuntu2 amd64 library to determine the call-chain of a program - runtime > ii libunwind8-dev 1.1-4.1ubuntu2 amd64 library to determine the call-chain of a program - development Ok, but it is libunwind version 8, so this should narrow down the problem, probably this one doesn't have that REMOTE_UNWIND_LIBUNWIND somewhow, Jiri? - Arnaldo > > libunwind-dev is installed it appears. > > Let me know if you want me to run other tests. > > Thanks, > > Ingo