On Thu, Jun 20, 2002 at 07:02:20AM +0800, Sanjay AG wrote:
> I am trying to get oprofile to collect performance/profile dump
> for a Ethernet driver module that I wrote. The driver is
> implemented as a kernel module that I insmod after bootup.
> The question... How do I make oprofile to create sample files and
> collect my driver's event data? I have tried all obvious things based
> on the documentations, have had no luck no far...
Odd. This should "just work". Did you make sure to do an "op_dump" to
dump the profile data ?
How did you start oprofile ? What version are you using ? What kernel
version are you using ? What are the values of "_text" and "_end"
symbols in System.map ?
Are there other sample files in /var/lib/oprofile/samples/ ?
Here, I start up the profiler, do an "op_dump", and then :
oprofpp -l /lib/modules/2.4.19-pre2-rmap12g/oprofile/oprofile.o
to get the output
"If a thing is not diminished by being shared, it is not rightly owned if
it is only owned & not shared."
- St. Augustine