[prev in list] [next in list] [prev in thread] [next in thread] 

List:       oprofile-list
Subject:    RE: vmlinux or vmlinuz?
From:       "Miller, Mike (OS Dev)" <Mike.Miller () hp ! com>
Date:       2007-02-20 17:26:08
Message-ID: 226E1C65E4F6164E8EA5FD3CC913AE8C4E279D () G3W0639 ! americas ! hpqcorp ! net
[Download RAW message or body]

The vmlinux file is used because it matches the running kernel. If you
were using sources there is no way to match up addresses with symbols.
If you don't want to profile the running kernel then you don't need a
vmlinux file at all.

-- mikem 

> -----Original Message-----
> From: Lin George [mailto:george4academic@yahoo.com] 
> Sent: Monday, February 19, 2007 10:00 PM
> To: Miller, Mike (OS Dev)
> Cc: oprofile-list@lists.sourceforge.net
> Subject: Re: vmlinux or vmlinuz?
> 
> Hi Mike! Do you know why kernel binary (vmlinux) is needed? I 
> am confused why source code is not needed and only binary 
> image is needed by oprofile. What information does oprofile 
> want to retrieve from vmlinux?
> 
> 
> regards,
> George
> 
> ----- Original Message ----
> From: "Miller, Mike (OS Dev)" <Mike.Miller@hp.com>
> To: Lin George <george4academic@yahoo.com>
> Cc: oprofile-list@lists.sourceforge.net
> Sent: Tuesday, February 20, 2007 2:21:58 AM
> Subject: RE: vmlinux or vmlinuz?
> 
> 
> George,
> That's correct. oprofile needs only the uncompressed vmlinux 
> that matches the running kernel. No sources are required.
> 
> -- mikem
> 
> > -----Original Message-----
> > From: oprofile-list-bounces@lists.sourceforge.net
> > [mailto:oprofile-list-bounces@lists.sourceforge.net] On 
> Behalf Of Lin 
> > George
> > Sent: Saturday, February 17, 2007 6:09 AM
> > To: Miller, Mike (OS Dev)
> > Cc: oprofile-list@lists.sourceforge.net
> > Subject: RE: vmlinux or vmlinuz?
> > 
> > Thanks Mike!
> > 
> > 
> > I am very interested in your method. It seems that oprofile 
> only needs 
> > to locate a copy of vmlinux of read running kernel image, 
> and not the 
> > real running (the one I am using under /boot). Right?
> > 
> > A further question, only a kernel image copy is needed, no kernel 
> > source codes are needed?
> > 
> > 
> > regards,
> > George
> > 
> > --- "Miller, Mike (OS Dev)" <Mike.Miller@hp.com>
> > wrote:
> > 
> > > The easiest way is to copy the vmlinuz file to your home dir and 
> > > rename it vmlinuz*.gz.
> > > Then just gzip -d vmlinuz*.gz.
> > > 
> > > -- mikem
> > > 
> > > > -----Original Message-----
> > > > From: Lin George
> > > [mailto:george4academic@yahoo.com]
> > > > Sent: Thursday, February 15, 2007 8:39 AM
> > > > To: Miller, Mike (OS Dev)
> > > > Cc: oprofile-list@lists.sourceforge.net
> > > > Subject: Re: vmlinux or vmlinuz?
> > > > 
> > > > Thanks Mike!!
> > > > 
> > > > I only want to use oprofile to profile some
> > > applications, and
> > > > I do not want to do any customization in Linux
> > > kernel. I
> > > > think in my case, the default Linux kernel I am
> > > using (means
> > > > I do not need to rebuild Linux kernel from Linux
> > > kernel
> > > > source code) is ok. Do you agree?
> > > > 
> > > > > If you've not built a custom kernel you could
> > > unzip the
> > > > vmlinuz file to create vmlinux.
> > > > 
> > > > It seems that it is what I am looking for. Sorry
> > > for my
> > > > stupid question, how to unzip a vmlinuz? I have
> > > tried unzip
> > > > and tar does not work. Show a sample? :-)
> > > > 
> > > > 
> > > > regards,
> > > > George
> > > > 
> > > > ----- Original Message ----
> > > > From: "Miller, Mike (OS Dev)" <Mike.Miller@hp.com>
> > > > To: Lin George <george4academic@yahoo.com>
> > > > Sent: Thursday, February 15, 2007 12:05:44 AM
> > > > Subject: RE: vmlinux or vmlinuz?
> > > > 
> > > > 
> > > > The vmlinux file should be in /usr/src/linux. If
> > > you've not
> > > > built a custom kernel you could unzip the vmlinuz
> > > file to
> > > > create vmlinux.
> > > > 
> > > > -- mikem
> > > > 
> > > > > -----Original Message-----
> > > > > From:
> > > oprofile-list-bounces@lists.sourceforge.net
> > > > >
> > > [mailto:oprofile-list-bounces@lists.sourceforge.net]
> > > On
> > > > Behalf Of Lin
> > > > > George
> > > > > Sent: Tuesday, February 13, 2007 9:38 PM
> > > > > To: oprofile-list@lists.sourceforge.net
> > > > > Subject: vmlinux or vmlinuz?
> > > > > 
> > > > > Hello everyone,
> > > > > 
> > > > > 
> > > > > I found in my system, there are only
> > > vmlinuz-(version)
> > > > under /boot, no
> > > > > vmlinux. In this situation, how could I enable
> > > the usage of
> > > > oprofile? 
> > > > > Any quick solutions?
> > > > > 
> > > > > 
> > > > > thanks in advance,
> > > > > George
> > > > > 
> > > > > 
> > > > >  
> > > > >
> > >
> > ______________________________________________________________
> > > > > ______________________
> > > > > Don't pick lemons.
> > > > > See all the new 2007 cars at Yahoo! Autos.
> > > > > http://autos.yahoo.com/new_cars.html
> > > > > 
> > > > >
> > >
> > --------------------------------------------------------------
> > > > > -----------
> > > > > Take Surveys. Earn Cash. Influence the Future of
> > > IT Join
> > > > > SourceForge.net's Techsay panel and you'll get
> > > the chance to share
> > > > > your opinions on IT & business topics through
> > > brief
> > > > surveys-and earn
> > > > > cash
> > >
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge
> > > > > &CID=DEVDEV
> > > > > _______________________________________________
> > > > > oprofile-list mailing list
> > > > > oprofile-list@lists.sourceforge.net
> > > > >
> > >
> > https://lists.sourceforge.net/lists/listinfo/oprofile-list
> > > > >
> > > > 
> > > > 
> > > >  
> > > >
> > >
> > ______________________________________________________________
> > > > ______________________
> > > > Do you Yahoo!?
> > > > Everyone is raving about the all-new Yahoo! Mail
> > > beta.
> > > > http://new.mail.yahoo.com
> > > > 
> > > 
> > 
> > 
> > 
> >  
> > ______________________________________________________________
> > ______________________
> > No need to miss a message. Get email on-the-go with Yahoo! 
> > Mail for Mobile. Get started.
> > http://mobile.yahoo.com/mail
> > 
> > --------------------------------------------------------------
> > -----------
> > Take Surveys. Earn Cash. Influence the Future of IT Join 
> > SourceForge.net's Techsay panel and you'll get the chance to share 
> > your opinions on IT & business topics through brief 
> surveys-and earn 
> > cash http://www.techsay.com/default.php?page=join.php&p=sourceforge
> &CID=DEVDEV
> > _______________________________________________
> > oprofile-list mailing list
> > oprofile-list@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/oprofile-list
> >
> 
> 
>  
> ______________________________________________________________
> ______________________
> Bored stiff? Loosen up... 
> Download and play hundreds of games for free on Yahoo! Games.
> http://games.yahoo.com/games/front
> 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
oprofile-list mailing list
oprofile-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oprofile-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic