* 2.6.14-rt1: oprofile doesn't work anymore
@ 2005-11-03 21:39 Lee Revell
2005-11-03 23:22 ` Lee Revell
0 siblings, 1 reply; 5+ messages in thread
From: Lee Revell @ 2005-11-03 21:39 UTC (permalink / raw)
To: linux-kernel; +Cc: Ingo Molnar
Several months ago oprofile just stopped working on my system. All I
have changed on the system was updating the kernel. This used to work
perfectly. I figured it was something I overlooked but recently I
double checked everything and I can't for the life of me figure out
what's wrong.
I am using the simple "profile" script that Andrew Morton posted several
months ago. But no matter what I do, all I get is:
opreport error: No sample file found: try running opcontrol --dump
or specify a session containing sample files
(Of course I have tried running opcontrol --dump, it has absolutely no
effect)
Examining the log files I see that it does not collect any samples.
root@mindpipe:~# cat /var/lib/oprofile/oprofiled.log
oprofiled started Thu Nov 3 16:32:05 2005
kernel pointer size: 4
Thu Nov 3 16:32:31 2005
Nr. sample dumps: 4
Nr. non-backtrace samples: 0
Nr. kernel samples: 0
Nr. lost samples (no kernel/user): 0
Nr. lost kernel samples: 0
Nr. incomplete code structs: 0
Nr. samples lost due to sample file open failure: 0
Nr. samples lost due to no permanent mapping: 0
Nr. event lost due to buffer overflow: 0
Nr. samples lost due to no mapping: 0
Nr. backtraces skipped due to no file mapping: 0
Nr. samples lost due to no mm: 0
Nr. samples lost cpu buffer overflow: 0
Nr. samples received: 0
Nr. backtrace aborted: 0
oprofiled stopped Thu Nov 3 16:32:31 2005
Is there something in the -rt tree that's known to break oprofile? Or
did the userspace interface change in an incompatible way?
Lee
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.14-rt1: oprofile doesn't work anymore
2005-11-03 21:39 2.6.14-rt1: oprofile doesn't work anymore Lee Revell
@ 2005-11-03 23:22 ` Lee Revell
2005-11-06 18:45 ` Lee Revell
0 siblings, 1 reply; 5+ messages in thread
From: Lee Revell @ 2005-11-03 23:22 UTC (permalink / raw)
To: linux-kernel; +Cc: Ingo Molnar
On Thu, 2005-11-03 at 16:39 -0500, Lee Revell wrote:
> I am using the simple "profile" script that Andrew Morton posted several
> months ago. But no matter what I do, all I get is:
>
> opreport error: No sample file found: try running opcontrol --dump
> or specify a session containing sample files
>
> (Of course I have tried running opcontrol --dump, it has absolutely no
> effect)
>
> Examining the log files I see that it does not collect any samples.
I just tested this with oprofile both built into the kernel and as a
module, and with oprofile userspace tools 0.9.1 and from CVS. No
change. I have verified that /dev/oprofile is mounted. It looks like
the profiler never sees any samples.
rlrevell@mindpipe:~$ cat /dev/oprofile/stats/cpu0/sample_received
0
Could one of the ktimers changes have broken the timer interrupt based
profiling?
Lee
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.14-rt1: oprofile doesn't work anymore
2005-11-03 23:22 ` Lee Revell
@ 2005-11-06 18:45 ` Lee Revell
2006-05-31 3:27 ` Lee Revell
0 siblings, 1 reply; 5+ messages in thread
From: Lee Revell @ 2005-11-06 18:45 UTC (permalink / raw)
To: linux-kernel; +Cc: Ingo Molnar
On Thu, 2005-11-03 at 18:22 -0500, Lee Revell wrote:
> I just tested this with oprofile both built into the kernel and as a
> module, and with oprofile userspace tools 0.9.1 and from CVS. No
> change. I have verified that /dev/oprofile is mounted. It looks like
> the profiler never sees any samples.
>
> rlrevell@mindpipe:~$ cat /dev/oprofile/stats/cpu0/sample_received
> 0
>
> Could one of the ktimers changes have broken the timer interrupt based
> profiling?
I have verified that oprofile does work with 2.6.14. So the breakage is
unique to the -rt kernel.
Lee
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.14-rt1: oprofile doesn't work anymore
2005-11-06 18:45 ` Lee Revell
@ 2006-05-31 3:27 ` Lee Revell
0 siblings, 0 replies; 5+ messages in thread
From: Lee Revell @ 2006-05-31 3:27 UTC (permalink / raw)
To: linux-kernel; +Cc: Ingo Molnar, Steven Rostedt
(replying to a very old thread)
On Sun, 2005-11-06 at 13:45 -0500, Lee Revell wrote:
> On Thu, 2005-11-03 at 18:22 -0500, Lee Revell wrote:
> > I just tested this with oprofile both built into the kernel and as a
> > module, and with oprofile userspace tools 0.9.1 and from CVS. No
> > change. I have verified that /dev/oprofile is mounted. It looks like
> > the profiler never sees any samples.
> >
> > rlrevell@mindpipe:~$ cat /dev/oprofile/stats/cpu0/sample_received
> > 0
> >
> > Could one of the ktimers changes have broken the timer interrupt based
> > profiling?
>
> I have verified that oprofile does work with 2.6.14. So the breakage is
> unique to the -rt kernel.
Ingo,
oprofile still does not work with the -rt kernel (verified with
2.6.16-rt20).
Can anyone else reproduce this?
Lee
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.14-rt1: oprofile doesn't work anymore
@ 2006-07-18 13:49 Jonathan Walsh
0 siblings, 0 replies; 5+ messages in thread
From: Jonathan Walsh @ 2006-07-18 13:49 UTC (permalink / raw)
To: linux-kernel
To reply to an old thread... I can confirm the problem as I am also not
getting any samples from oprofile on 2.6.17-rt7.
root@node> cat /dev/oprofile/stats/cpu0/sample_received
0
-Jonathan Walsh
Distributed Processing Lab; Lockheed Martin Adv. Tech. Labs
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-07-18 13:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-03 21:39 2.6.14-rt1: oprofile doesn't work anymore Lee Revell
2005-11-03 23:22 ` Lee Revell
2005-11-06 18:45 ` Lee Revell
2006-05-31 3:27 ` Lee Revell
2006-07-18 13:49 Jonathan Walsh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).