Mailinglist Archive: opensuse-programming (33 mails)

< Previous Next >
Re: [suse-programming-e] Profile assembly instructions of a program
  • From: John Lamb <J.D.Lamb@xxxxxxxxxxxxxx>
  • Date: Mon, 03 Jan 2005 07:48:35 +0000
  • Message-id: <41D8F8D3.1030502@xxxxxxxxxxxxxx>
cincaipatron@xxxxxxx wrote:
Hi, how to get the assembly-instructions profile of a program in Linux (or Unix in general), similar with what gprof does, just that gprof is in higher-language (C/C++) level?

I'm not entirely sure what you mean, but g++/gcc -S might be what you want. It creates a file 'file.s' with the assembly instructions in it.

--
JDL

< Previous Next >
List Navigation
Follow Ups
References