Messages in this thread | | | Subject | Re: [GIT PULL] perf fixes | From | Eric Dumazet <> | Date | Tue, 24 May 2011 00:22:04 +0200 |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |