From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752148AbdFNTMg (ORCPT ); Wed, 14 Jun 2017 15:12:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:36898 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751974AbdFNTMf (ORCPT ); Wed, 14 Jun 2017 15:12:35 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 18DC9214E1 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 16:12:31 -0300 From: Arnaldo Carvalho de Melo To: Ingo Molnar 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: <20170614191231.GA3645@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 > so it's a maximum-features build, right? looks like > 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 > libunwind-dev is installed it appears. > Let me know if you want me to run other tests. Couldn't reproduce so far :-\ I am trying it on a docker container with Ubuntu 16.04, is that the version you're using, seems to be the 16.04, at least the packages above listed are the same as in my container... Also it would be nice to see if this is something introduced by Jiada's patch: Author: Jiada Wang Date: Sun Apr 9 20:02:37 2017 -0700 perf tools: Fix build with ARCH=x86_64 --------------------------- I.e. the other patch in my perf/urgent branch, does this warning go away if you apply just the first patch in my perf/urgent branch as of now? Here is my testing: root@5754d7c06d56:/# perf record -F 10000 --call-graph dwarf sleep 5 [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 0.118 MB perf.data (14 samples) ] root@5754d7c06d56:/# perf report --stdio --dsos '[kernel.kallsyms]' 2>&1 | head -20 # To display the perf.data header info, please use --header/--header-only options. # # dso: [kernel.kallsyms] # # Total Lost Samples: 0 # # Samples: 14 of event 'cycles:ppp' # Event count (approx.): 1085705 # # Children Self Command Symbol # ........ ........ ....... .............................. # 28.16% 0.00% sleep [k] page_fault | ---page_fault do_page_fault __do_page_fault handle_mm_fault | |--17.82%--__handle_mm_fault root@5754d7c06d56:/# grep Ubuntu /etc/os-release NAME="Ubuntu" PRETTY_NAME="Ubuntu 16.04.2 LTS" root@5754d7c06d56:/# - Arnaldo - Arnaldo