Re: [BUG] perf sched broken

From: Corey Ashford
Date: Wed Jan 12 2011 - 15:22:49 EST


On 01/12/2011 11:52 AM, Stephane Eranian wrote:
On Wed, Jan 12, 2011 at 8:41 PM, Corey Ashford
<cjashfor@xxxxxxxxxxxxxxxxxx> 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


I made a stupid mistake! When I ran perf, it was picking up the executable from /usr/bin instead of the kernel build tree.

I am seeing the problem you are reporting now.

Thanks for your patience,

- Corey
--
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/