From: Kirill K. <kir...@gm...> - 2008-03-10 13:49:00
|
the same kkuvaldin@002:~% sudo opreport -l image:'*vmlinux*' error: no sample files found: profile specification too strict ? It looks as if either I misunderstand some fundamental concepts of how oprofile gathers its results or there is a subtle error in my version of oprofile/kernel module/whatever... Kirill On Mon, Mar 10, 2008 at 2:44 PM, Montheu, Lionel <Lio...@nd...> wrote: > Can you try the following command: > sudo opreport -l image:*vmlinux* > > -----Ursprüngliche Nachricht----- > Von: opr...@li... [mailto:opr...@li...] Im Auftrag von Kirill Kuvaldin > Gesendet: Montag, 10. März 2008 10:48 > An: opr...@li...; lin...@vg... > Betreff: couldn't get kernel profiling data from OProfile > > > > Hi, > > I'm using oprofile 0.9.3 on Debian Lenny, kernel 2.6.22 SMP x86_64. > > The problem I'm dealing with is that opreport couldn't provide profiling data for the kernel image. > > I start the profiler as follows, specifying the vmlinux image: > > kkuvaldin@002:oprofile% sudo opcontrol --vmlinux=/boot/vmlinux kkuvaldin@002:oprofile% sudo opcontrol --start Using default event: CPU_CLK_UNHALTED:100000:0:1:1 Using 2.6+ OProfile kernel interface. > Reading module info. > Using log file /var/lib/oprofile/samples/oprofiled.log > Daemon started. > Profiler running. > > Then I did some workload to make sure oprofile gets enough samples: > > kkuvaldin@002:oprofile% dd if=/dev/urandom of=/dev/null > 80870+0 records in > 80869+0 records out > 41404928 bytes (41 MB) copied, 6.04975 seconds, 6.8 MB/s > > kkuvaldin@002:oprofile% sudo opcontrol --stop Stopping profiling. > > However when I tried to get some profiling data for the kernel binary, I ended up with the following: > > kkuvaldin@002:oprofile% sudo opreport -l /boot/vmlinux > error: no sample files found: profile specification too strict ? > zsh: exit 1 sudo opreport -l /boot/vmlinux > > > I double checked that /boot/vmlinux is the exact image that was running on the system. > > > Any ideas why oprofile doesn't list samples for the vmlinux image? > > > > Thanks, > Kirill > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > oprofile-list mailing list > opr...@li... > https://lists.sourceforge.net/lists/listinfo/oprofile-list > > Virus-Status: No virus found > |