Re: [BUG] perf sched broken

Stephane Eranian
2011-01-12T19:52:10Z

On Wed, Jan 12, 2011 at 8:41 PM, Corey Ashford
<cjashfor@linux.vnet.ibm.com> wrote:
> On 01/12/2011 01:29 AM, Stephane Eranian wrote:
>>
>> Hi,
>>
>> I am trying to use perf sched from tip-x86 but it fails for all my
>> attempts.
>
> So far I have been unsuccessful in reproducing this problem, but I suspect
> that I have the wrong git tree or branch.  The git tree I've cloned is:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git
>
I was using this branch.
I also tried running the tool on ubuntu lucid (2.6.32-based).

Didn't you have to at least fixup the sched event names to drop :r?
Once you have the perf.data file, how do you dump it?

I tried:
- perf sched trace -> error
- perf sched replay -> error
- perf script sched-migration -> hangs
- perf report -D

> I've tried the branches master, x86/urgent, and x86-urgent-for-linus. All of
> those produce correct results, as far as I can tell.
>
> Which tree / branch should I be using?
>
> - Corey
>