Re: [GIT PULL] perf fixes
From: Frederic Weisbecker
Date: Mon May 23 2011 - 18:19:31 EST
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++;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/