RE: bogus values of variables in userspace probes

2015-11-24 Thread 平松雅巳 / HIRAMATU,MASAMI
From: Michael Petlan [mailto:mpet...@redhat.com] > >On Tue, 2015-11-24 at 12:08 -0300, Arnaldo Carvalho de Melo wrote: >> Em Tue, Nov 24, 2015 at 12:18:22PM +0100, Michael Petlan escreveu: >> > I have been playing with perf-probe tool and I found out that some bogus >> > values of a function

Re: bogus values of variables in userspace probes

2015-11-24 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 25, 2015 at 01:03:47AM +, 平松雅巳 / HIRAMATU,MASAMI escreveu: > From: Michael Petlan [mailto:mpet...@redhat.com] > >On Tue, 2015-11-24 at 12:08 -0300, Arnaldo Carvalho de Melo wrote: > >> Em Tue, Nov 24, 2015 at 12:18:22PM +0100, Michael Petlan escreveu: > >> > I have been playing

RE: Re: bogus values of variables in userspace probes

2015-11-24 Thread 平松雅巳 / HIRAMATU,MASAMI
>From: Arnaldo Carvalho de Melo [mailto:a...@kernel.org] >Em Tue, Nov 24, 2015 at 11:54:24AM -0300, Arnaldo Carvalho de Melo escreveu: >> Em Tue, Nov 24, 2015 at 12:18:22PM +0100, Michael Petlan escreveu: >> > I have been playing with perf-probe tool and I found out that some bogus >> > values of

Re: bogus values of variables in userspace probes

2015-11-24 Thread Michael Petlan
On Tue, 2015-11-24 at 12:08 -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Nov 24, 2015 at 12:18:22PM +0100, Michael Petlan escreveu: > > I have been playing with perf-probe tool and I found out that some bogus > > values of a function argument are obtained by perf-record. > > > > How to

[PATCH] perf/x86/intel: Make L1D_PEND_MISS.FB_FULL not constrained on Haswell

2015-11-24 Thread Yuanfang Chen
Signed-off-by: Yuanfang Chen Reviewed-by: Andi Kleen --- arch/x86/kernel/cpu/perf_event_intel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/cpu/perf_event_intel.c b/arch/x86/kernel/cpu/perf_event_intel.c index

Re: bogus values of variables in userspace probes

2015-11-24 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 24, 2015 at 07:30:39PM +0100, Michael Petlan escreveu: > On Tue, 2015-11-24 at 12:08 -0300, Arnaldo Carvalho de Melo wrote: > > Em Tue, Nov 24, 2015 at 12:18:22PM +0100, Michael Petlan escreveu: > > > I have been playing with perf-probe tool and I found out that some bogus > > > values

Re: [PATCH 1/1] perf/x86/intel: make L1D_PEND_MISS.FB_FULL not constrained on haswell

2015-11-24 Thread Peter Zijlstra
On Mon, Nov 23, 2015 at 08:42:08PM -0500, Yuanfang Chen wrote: > From 47d52ccfae56a8eb702fee6ccf327780265df2cf Mon Sep 17 00:00:00 2001 > From: Yuanfang Chen > Date: Mon, 16 Nov 2015 21:53:53 -0500 > Subject: [PATCH 1/1] perf/x86/intel: make L1D_PEND_MISS.FB_FULL not >

Re: bogus values of variables in userspace probes

2015-11-24 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 24, 2015 at 12:18:22PM +0100, Michael Petlan escreveu: > Hi *, > > I have been playing with perf-probe tool and I found out that some bogus > values of a function argument are obtained by perf-record. > > How to reproduce: > > gcc -O0 -g -o dummy dummy.c > perf probe -x ./dummy

Re: bogus values of variables in userspace probes

2015-11-24 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 24, 2015 at 12:18:22PM +0100, Michael Petlan escreveu: > I have been playing with perf-probe tool and I found out that some bogus > values of a function argument are obtained by perf-record. > > How to reproduce: > > gcc -O0 -g -o dummy dummy.c > perf probe -x ./dummy --add 'isprime

bogus values of variables in userspace probes

2015-11-24 Thread Michael Petlan
Hi *, I have been playing with perf-probe tool and I found out that some bogus values of a function argument are obtained by perf-record. How to reproduce: gcc -O0 -g -o dummy dummy.c perf probe -x ./dummy --add 'isprime a' perf record -e probe_dummy:isprime ./dummy perf script The actual