Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751195AbeAPPiK (ORCPT + 1 other); Tue, 16 Jan 2018 10:38:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:40072 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750764AbeAPPiI (ORCPT ); Tue, 16 Jan 2018 10:38:08 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 067CC2176E 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: Tue, 16 Jan 2018 12:38:05 -0300 From: Arnaldo Carvalho de Melo To: Thomas-Mich Richter Cc: Jiri Olsa , Ingo Molnar , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Arnaldo Carvalho de Melo , Adrian Hunter , David Ahern , Hendrick Brueckner , Namhyung Kim , Noel Grandin , Wang Nan Subject: Re: [RFC 0/5] per-event settings fixes Message-ID: <20180116153805.GD16107@kernel.org> References: <20180116142438.19520-1-acme@kernel.org> <5e418aa0-d966-59d4-f024-a5fc61500f8d@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5e418aa0-d966-59d4-f024-a5fc61500f8d@linux.vnet.ibm.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Em Tue, Jan 16, 2018 at 04:27:52PM +0100, Thomas-Mich Richter escreveu: > --- ::1 ping statistics --- > 1 packets transmitted, 1 received, 0% packet loss, time 0ms > rtt min/avg/max/mdev = 0.047/0.047/0.047/0.000 ms > 0.000 probe_libc:inet_pton:(3ffb4bc2060)) > [root@s8360047 perf]# > > Test fails, I would have expected some callchain output. > > [root@s8360047 perf]# ./perf trace --no-syscalls --call-graph dwarf --max-stack 4 > -e probe_libc:inet_pton/max-stack=3/ ping -6 -c 1 ::1 > PING ::1(::1) 56 data bytes > 64 bytes from ::1: icmp_seq=1 ttl=64 time=0.055 ms > > --- ::1 ping statistics --- > 1 packets transmitted, 1 received, 0% packet loss, time 0ms > rtt min/avg/max/mdev = 0.055/0.055/0.055/0.000 ms > 0.000 probe_libc:inet_pton:(3ff7e6c2060)) > [root@s8360047 perf]# > > Test fails, I would have expected some callchain output. > > It looks like /max-stack=3/ without ,call-graph=dwarf > does not trigger the stack unwinding. Ok, will work on those, then redo all the tests you did, grr, tricky stuff. - Arnaldo