Configuring OProfile

View: New views
2 Messages — Rating Filter:   Alert me  

Configuring OProfile

by Avi Gozlan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I've compiled OProfile on RHEL3 (2.4.21) for running it on either RHEL3 or RHEL5 (2.6.18). I would have to profile the kernel as well as user space.

I run configure with no arguments, yet I had the following line in the output:

Checking for kernel OProfile support... yes

Also when I tried using the compiled executables on 2.6.18 I got sampling results for the kernel as well. E.g. opreport -l yielded sampling results for various kernel symbols. Obviously I run opcontrol --vmlinux for telling vmlinux location. Yet I must say I was surprised.

Does this make sense? Does this mean I would not have to use the --with-kernel-support (or --with-linux) argument when configuring? Or am I missing something?

Thanks,

Avi

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list

Re: Configuring OProfile

by Maynard Johnson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Avi Gozlan wrote:

> Hi,
>
> I've compiled OProfile on RHEL3 (2.4.21) for running it on either RHEL3 or RHEL5 (2.6.18). I would have to profile the kernel as well as user space.
>
> I run configure with no arguments, yet I had the following line in the output:
>
> Checking for kernel OProfile support... yes
>
> Also when I tried using the compiled executables on 2.6.18 I got sampling results for the kernel as well. E.g. opreport -l yielded sampling results for various kernel symbols. Obviously I run opcontrol --vmlinux for telling vmlinux location. Yet I must say I was surprised.
>
> Does this make sense? Does this mean I would not have to use the --with-kernel-support (or --with-linux) argument when configuring? Or am I missing something?

See http://oprofile.sourceforge.net/doc/install.html.

-Maynard

>
> Thanks,
>
> Avi
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> oprofile-list mailing list
> oprofile-list@...
> https://lists.sourceforge.net/lists/listinfo/oprofile-list


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list