I want to find the waste time function in e1000 driver, use the 2.6.18.6 kernel. Below is my command: 
 
[root@localhost oprofile]# /usr/local/bin/opcontrol --status                              
Daemon running: pid 2992
Event 0: LOAD_BLOCK:18000:0x3e:1:0
Separate options: none
vmlinux file: /usr/src/linux- 2.6.18.6/vmlinux
Image filter: /lib/modules/2.6.18.6/kernel/drivers/net/e1000/e1000.ko
Call-graph depth: 0

[root@localhost oprofile]# /usr/local/bin/opcontrol --start --image=/lib/modules/2.6.18.6/kernel/drivers/net/e1000/e1000.ko
 
[root@localhost oprofile]# /usr/local/bin/opcontrol --stop
 
[root@localhost oprofile]# /usr/local/bin/opreport -l -p /lib/modules/2.6.18.6/kernel/drivers/ --symbols
warning: /e1000 could not be found.
warning: /ext3 could not be found.
warning: /jbd could not be found.
CPU: Core 2, speed 1862.13 MHz (estimated)
Counted LOAD_BLOCK events (events pertaining to loads) with a unit mask of 0x3e (multiple flags) count 18000
warning: could not check that the binary file /lib/modules/2.6.18.6/kernel/drivers/md/dm- mod.ko has not been modified since the profile was taken. Results may be inaccurate.
warning: could not check that the binary file /lib/modules/2.6.18.6/kernel/drivers/usb/host/ehci-hcd.ko has not been modified since the profile was taken. Results may be inaccurate.
warning: could not check that the binary file /lib/modules/2.6.18.6/kernel/drivers/scsi/libata.ko has not been modified since the profile was taken. Results may be inaccurate.
samples  %        image name               app name                 symbol name
209308   34.1527  e1000                    e1000                    (no symbols)
59567     9.7195  vmlinux                  vmlinux                  free_block
59100     9.6433  vmlinux                  vmlinux                  eth_type_trans
55751     9.0969  vmlinux                  vmlinux                  __netdev_alloc_skb
35041     5.7176  vmlinux                  vmlinux                  cache_alloc_refill
27952     4.5609  vmlinux                  vmlinux                  netif_receive_skb
22922     3.7402  vmlinux                  vmlinux                  ip_output
22545     3.6787  vmlinux                  vmlinux                  pfifo_fast_enqueue
20186     3.2937  vmlinux                  vmlinux                  ip_route_input
16948     2.7654  vmlinux                  vmlinux                  dev_queue_xmit
10589     1.7278  vmlinux                  vmlinux                  kmem_cache_free
8321      1.3577  vmlinux                  vmlinux                  __kfree_skb
8106      1.3227  vmlinux                  vmlinux                  __kmalloc
7984      1.3027  vmlinux                  vmlinux                  dev_kfree_skb_any
7637      1.2461  vmlinux                  vmlinux                  local_bh_enable
 
Questions:
 
1) There are some warning like "warning: /e1000 could not be found.". How can I get the e1000.ko's symbol in the result?
 
2) Where does the "could not check that the binary file /lib/modules/2.6.18.6/kernel/drivers/md/dm- mod.ko has not been modified since the profile was taken. Results may be inaccurate." warning come from? How can I correct it?
 
Your reply is my pleasure.
Bekars ^_^