[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090807082318.GA23910@elte.hu>
Date: Fri, 7 Aug 2009 10:23:18 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Brice Goglin <Brice.Goglin@...ia.fr>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>, paulus@...ba.org,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] perf tools: Fix reading of perf.data file header
* Brice Goglin <Brice.Goglin@...ia.fr> wrote:
> Ingo Molnar wrote:
> > I completely forgot about it. And since we now have --scale enabled
> > by default (and it doesnt make much sense to disable it i guess), it
> > would not be a big issue to rename that -c/--scale to free up that
> > flag for -S/--stat?
> >
> > Ingo
> >
>
>
> Here you are. But how do you switch "scale" off now that it's
> disabled by default? I tried --scale=0, --no-scale and so on
> without apparently succeeding.
--no-scale seems to work here:
aldebaran:~> perf stat --no-scale -e 0:0 -e 0:0 -e 0:0 -e 0:0 -e 0:0
-e 0:0 -e 0:0 -e 0:0 ~/loop_1b_instructions
Performance counter stats for '/home/mingo/loop_1b_instructions':
469128160 cycles
469072870 cycles
470517049 cycles
473750835 cycles
476987439 cycles
477364955 cycles
474188871 cycles
470950809 cycles
0.237171581 seconds time elapsed
aldebaran:~> perf stat --scale -e 0:0 -e 0:0 -e 0:0 -e 0:0 -e 0:0 -e
0:0 -e 0:0 -e 0:0 ~/loop_1b_instructions
Performance counter stats for '/home/mingo/loop_1b_instructions':
756242908 cycles (scaled from 62.00%)
756238670 cycles (scaled from 62.00%)
756237417 cycles (scaled from 62.23%)
756093940 cycles (scaled from 62.66%)
756097133 cycles (scaled from 63.08%)
756141523 cycles (scaled from 63.10%)
756142674 cycles (scaled from 62.68%)
756154220 cycles (scaled from 62.26%)
0.236972028 seconds time elapsed
Ingo
--
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