LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* oprofile broken on 2.6.19
@ 2007-01-09 20:46 Gert Vervoort
2007-01-10 17:43 ` Tomas Carnecky
2007-01-10 17:45 ` Tomas Carnecky
0 siblings, 2 replies; 7+ messages in thread
From: Gert Vervoort @ 2007-01-09 20:46 UTC (permalink / raw)
To: linux-kernel
When I try to use oprofile on 2.6.19, it does not seem to work:
[gert@apollo tmp]$ sudo opcontrol --no-vmlinux
[gert@apollo tmp]$ sudo opcontrol --start
/usr/bin/opcontrol: line 911: /dev/oprofile/0/enabled: No such file or directory/usr/bin/opcontrol: line 911:
/dev/oprofile/0/event: No such file or directory
/usr/bin/opcontrol: line 911: /dev/oprofile/0/count: No such file or directory
/usr/bin/opcontrol: line 911: /dev/oprofile/0/kernel: No such file or directory
/usr/bin/opcontrol: line 911: /dev/oprofile/0/user: No such file or directory
/usr/bin/opcontrol: line 911: /dev/oprofile/0/unit_mask: No such file or directory
Using 2.6+ OProfile kernel interface.
Using log file /var/lib/oprofile/oprofiled.log
Daemon started.
Profiler running.
[gert@apollo tmp]$ ls /dev/oprofile/
1 backtrace_depth buffer_watershed dump stats
2 buffer cpu_buffer_size enable
3 buffer_size cpu_type pointer_size
[gert@apollo tmp]$ cat /var/lib/oprofile/oprofiled.log
oprofiled started Tue Jan 9 21:41:02 2007
kernel pointer size: 8
[gert@apollo tmp]$ uname -a
Linux apollo 2.6.19 #1 PREEMPT Thu Nov 30 18:52:13 CET 2006 x86_64 x86_64 x86_64 GNU/Linux
[gert@apollo tmp]$
Gert
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: oprofile broken on 2.6.19
2007-01-10 17:43 ` Tomas Carnecky
@ 2007-01-10 17:32 ` Gert Vervoort
2007-01-11 14:37 ` Tomas Carnecky
0 siblings, 1 reply; 7+ messages in thread
From: Gert Vervoort @ 2007-01-10 17:32 UTC (permalink / raw)
To: Tomas Carnecky; +Cc: linux-kernel
Tomas Carnecky wrote:
> Gert Vervoort wrote:
>
>> When I try to use oprofile on 2.6.19, it does not seem to work:
>>
>>
>
> http://lkml.org/lkml/2006/11/22/172
>
> tom
>
>
>
Disabling the nmi watchdog, as suggested in:
http://marc.theaimsgroup.com/?l=oprofile-list&m=116422889324043&w=2,
also makes oprofile work again.
Gert
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: oprofile broken on 2.6.19
2007-01-09 20:46 oprofile broken on 2.6.19 Gert Vervoort
@ 2007-01-10 17:43 ` Tomas Carnecky
2007-01-10 17:32 ` Gert Vervoort
2007-01-10 17:45 ` Tomas Carnecky
1 sibling, 1 reply; 7+ messages in thread
From: Tomas Carnecky @ 2007-01-10 17:43 UTC (permalink / raw)
To: Gert Vervoort; +Cc: linux-kernel
Gert Vervoort wrote:
>
> When I try to use oprofile on 2.6.19, it does not seem to work:
>
http://lkml.org/lkml/2006/11/22/172
tom
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: oprofile broken on 2.6.19
2007-01-09 20:46 oprofile broken on 2.6.19 Gert Vervoort
2007-01-10 17:43 ` Tomas Carnecky
@ 2007-01-10 17:45 ` Tomas Carnecky
1 sibling, 0 replies; 7+ messages in thread
From: Tomas Carnecky @ 2007-01-10 17:45 UTC (permalink / raw)
To: Gert Vervoort; +Cc: linux-kernel
Gert Vervoort wrote:
>
> When I try to use oprofile on 2.6.19, it does not seem to work:
>
> [gert@apollo tmp]$ sudo opcontrol --no-vmlinux
> [gert@apollo tmp]$ sudo opcontrol --start
> /usr/bin/opcontrol: line 911: /dev/oprofile/0/enabled: No such file or
> directory/usr/bin/opcontrol: line 911: /dev/oprofile/0/event: No such
> file or directory
oh.. and next time please first try google ;)
http://www.google.ch/search?q=%2Fdev%2Foprofile%2F0%2Fevent
tom
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: oprofile broken on 2.6.19
2007-01-10 17:32 ` Gert Vervoort
@ 2007-01-11 14:37 ` Tomas Carnecky
2007-01-11 14:47 ` Eric Dumazet
0 siblings, 1 reply; 7+ messages in thread
From: Tomas Carnecky @ 2007-01-11 14:37 UTC (permalink / raw)
To: Gert Vervoort; +Cc: linux-kernel
Gert Vervoort wrote:
> Tomas Carnecky wrote:
>> Gert Vervoort wrote:
>>> When I try to use oprofile on 2.6.19, it does not seem to work:
>>>
>> http://lkml.org/lkml/2006/11/22/172
>>
> Disabling the nmi watchdog, as suggested in:
> http://marc.theaimsgroup.com/?l=oprofile-list&m=116422889324043&w=2,
> also makes oprofile work again.
>
Oh.. that seem to be much easier then compiling a patched oprofile :)
However, I can't find any NMI option (grep NMI .config), and
CONFIG_WATCHDOG is disabled here.
tom
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: oprofile broken on 2.6.19
2007-01-11 14:37 ` Tomas Carnecky
@ 2007-01-11 14:47 ` Eric Dumazet
2007-01-11 17:17 ` Tomas Carnecky
0 siblings, 1 reply; 7+ messages in thread
From: Eric Dumazet @ 2007-01-11 14:47 UTC (permalink / raw)
To: Tomas Carnecky; +Cc: Gert Vervoort, linux-kernel
On Thursday 11 January 2007 15:37, Tomas Carnecky wrote:
> Gert Vervoort wrote:
> > Tomas Carnecky wrote:
> >> Gert Vervoort wrote:
> >>> When I try to use oprofile on 2.6.19, it does not seem to work:
> >>
> >> http://lkml.org/lkml/2006/11/22/172
> >
> > Disabling the nmi watchdog, as suggested in:
> > http://marc.theaimsgroup.com/?l=oprofile-list&m=116422889324043&w=2,
> > also makes oprofile work again.
>
> Oh.. that seem to be much easier then compiling a patched oprofile :)
> However, I can't find any NMI option (grep NMI .config), and
> CONFIG_WATCHDOG is disabled here.
Sure, but did you tried to boot with 'nmi_watchdog=0' appended in your boot
params ?
Eric
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: oprofile broken on 2.6.19
2007-01-11 14:47 ` Eric Dumazet
@ 2007-01-11 17:17 ` Tomas Carnecky
0 siblings, 0 replies; 7+ messages in thread
From: Tomas Carnecky @ 2007-01-11 17:17 UTC (permalink / raw)
To: Eric Dumazet; +Cc: Gert Vervoort, linux-kernel
Eric Dumazet wrote:
> On Thursday 11 January 2007 15:37, Tomas Carnecky wrote:
>> Gert Vervoort wrote:
>>> Tomas Carnecky wrote:
>>>> Gert Vervoort wrote:
>>>>> When I try to use oprofile on 2.6.19, it does not seem to work:
>>>> http://lkml.org/lkml/2006/11/22/172
>>> Disabling the nmi watchdog, as suggested in:
>>> http://marc.theaimsgroup.com/?l=oprofile-list&m=116422889324043&w=2,
>>> also makes oprofile work again.
>> Oh.. that seem to be much easier then compiling a patched oprofile :)
>> However, I can't find any NMI option (grep NMI .config), and
>> CONFIG_WATCHDOG is disabled here.
>
> Sure, but did you tried to boot with 'nmi_watchdog=0' appended in your boot
> params ?
No, I assumed since I don't have any watchdog, I wouldn't have the NMI
thing either... these silly assumptions.
tom
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-01-11 16:59 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-09 20:46 oprofile broken on 2.6.19 Gert Vervoort
2007-01-10 17:43 ` Tomas Carnecky
2007-01-10 17:32 ` Gert Vervoort
2007-01-11 14:37 ` Tomas Carnecky
2007-01-11 14:47 ` Eric Dumazet
2007-01-11 17:17 ` Tomas Carnecky
2007-01-10 17:45 ` Tomas Carnecky
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).