mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Prakash Punnoor <prakash@punnoor.de>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: oprofile-list@lists.sourceforge.net
Subject: 2.6.19-rc* and oprofile issues
Date: Fri, 27 Oct 2006 06:23:11 +0200	[thread overview]
Message-ID: <200610270623.14741.prakash@punnoor.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 2142 bytes --]

Hi,

I can't seem to get oprofile (0.9.2) working with current rc kernels an my 
AMD64 platform. All works out of the box with 2.6.18 and earlier.

LC_ALL=C opcontrol -s
/usr/bin/opcontrol: line 994: /dev/oprofile/0/enabled: No such file or 
directory
/usr/bin/opcontrol: line 994: /dev/oprofile/0/event: No such file or directory
/usr/bin/opcontrol: line 994: /dev/oprofile/0/count: No such file or directory
/usr/bin/opcontrol: line 994: /dev/oprofile/0/kernel: No such file or 
directory
/usr/bin/opcontrol: line 994: /dev/oprofile/0/user: No such file or directory
/usr/bin/opcontrol: line 994: /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.

ll /dev/oprofile/
insgesamt 0
drwxr-xr-x 1 root root 0 27. Okt 06:06 1
drwxr-xr-x 1 root root 0 27. Okt 06:06 2
drwxr-xr-x 1 root root 0 27. Okt 06:06 3
-rw-r--r-- 1 root root 0 27. Okt 06:06 backtrace_depth
-rw-r--r-- 1 root root 0 27. Okt 06:06 buffer
-rw-r--r-- 1 root root 0 27. Okt 06:06 buffer_size
-rw-r--r-- 1 root root 0 27. Okt 06:06 buffer_watershed
-rw-r--r-- 1 root root 0 27. Okt 06:06 cpu_buffer_size
-rw-r--r-- 1 root root 0 27. Okt 06:06 cpu_type
-rw-rw-rw- 1 root root 0 27. Okt 06:06 dump
-rw-r--r-- 1 root root 0 27. Okt 06:06 enable
-rw-r--r-- 1 root root 0 27. Okt 06:06 pointer_size
drwxr-xr-x 1 root root 0 27. Okt 06:06 stats

So why isn't there a "0" directory?

If I try to use 1 by setting

CHOSEN_EVENTS_1=CPU_CLK_UNHALTED:100000:0:1:1
NR_CHOSEN=1

in daemonrc, I get:

No events given.

Am I doing something wrong or had the rc kernel something changed so that I 
need trunk version of oprofile? Or is something broken in kernel module?

dmesg + .config
http://www.prakash.gmxhome.de/linux/2.6.19-rc1-4.txt.bz2

cat /proc/interrupts for 2.6.19-rc1
http://www.prakash.gmxhome.de/linux/irqs19.txt

lspci can be found here:
http://marc.theaimsgroup.com/?l=linux-kernel&m=115545986619977&w=2

Cheers,
-- 
(°=                 =°)
//\ Prakash Punnoor /\\
V_/                 \_V

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

                 reply	other threads:[~2006-10-27  4:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200610270623.14741.prakash@punnoor.de \
    --to=prakash@punnoor.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oprofile-list@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®