lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 24 May 2011 00:22:04 +0200
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Frederic Weisbecker <fweisbec@...il.com>
Cc:	Ingo Molnar <mingo@...e.hu>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	linux-kernel@...r.kernel.org,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Arnaldo Carvalho de Melo <acme@...hat.com>,
	Steven Rostedt <rostedt@...dmis.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [GIT PULL] perf fixes

Le mardi 24 mai 2011 à 00:19 +0200, Frederic Weisbecker a écrit :
> On Tue, May 24, 2011 at 12:10:48AM +0200, Eric Dumazet wrote:
> > Le lundi 23 mai 2011 à 15:41 +0200, Ingo Molnar a écrit :
> > > Linus,
> > > 
> > > Please pull the latest perf-urgent-for-linus git tree from:
> > > 
> > >    git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git perf-urgent-for-linus
> > > 
> > >  Thanks,
> > > 
> > 
> > Hi Ingo
> > 
> > I just tried latest "perf top" from linux-2.6 tree on my 32bit x86 host.
> > 
> > It outputs endless errors, I dont know if you guys already are aware of
> > this ?
> > 
> > Can't parse sample, err = -14
> > Can't parse sample, err = -14
> > Can't parse sample, err = -14
> > Can't parse sample, err = -14
> > Can't parse sample, err = -14
> > Can't parse sample, err = -14
> > Can't parse sample, err = -14
> > Can't parse sample, err = -14
> 
> Hi Eric,
> 
> Does that fix the issue?
> 
> diff --git a/tools/perf/util/event.c b/tools/perf/util/event.c
> index 252b72a..6635fcd 100644
> --- a/tools/perf/util/event.c
> +++ b/tools/perf/util/event.c
> @@ -42,7 +42,7 @@ int perf_sample_size(u64 sample_type)
>  	int i;
>  
>  	for (i = 0; i < 64; i++) {
> -		if (mask & (1UL << i))
> +		if (mask & (1ULL << i))
>  			size++;
>  	}
>  
> 

It does, thanks Frederic !


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ