Messages in this thread | | | Date | Wed, 12 Jan 2011 12:22:33 -0800 | From | Corey Ashford <> | Subject | Re: [BUG] perf sched broken |
| |
On 01/12/2011 11:52 AM, Stephane Eranian wrote: > 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 >>
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
| |