Hi Dear Expert
    I use the following commands for oprofile. But I met a error for opreport. I have tried to solve this problem, but failed. Your help is appreciated.
opcontrol -v
opcontrol: oprofile 0.9.2 compiled on Mar 23 2007 14:37:38
opreport -v
opreport: oprofile 0.9.2 compiled on Mar 23 2007 14:37:38

opcontrol --reset
opcontrol --deinit
opcontrol --no-vmlinux
opcontrol --init
opcontrol --event=GLOBAL_POWER_EVENTS:100000
opcontrol --start
./system
opcontrol --dump
opcontrol --stop
opcontrol --shutdown

1. if i use the following command for report
opreport -x -l -d -o output-oprofile.opm
opreport error: Already displaying results for parameter tgid with values:
tgid:0,tgid:1,tgid:3,tgid:4,tgid:9, and 278 more,
which conflicts with parameter tid.
Suggestion: specify tgid: or --merge tgid
2. if i use --merge cpu, i got the error information as following
opreport -x -l -d --merge cpu -o output-oprofile.opm
Daemon not running
Unloading oprofile module
No such event "CYCLES"
Using 2.6+ OProfile kernel interface.
Using log file /var/lib/oprofile/oprofiled.log
Daemon started.
Profiler running.
#########my application
Stopping profiling.
Stopping profiling.
Killing daemon.
opreport error: sanitize_profile_sample_files(): sample file parsed twice ?
sample_filename:
/var/lib/oprofile/samples/current/{kern}/no-vmlinux/{dep}/{kern}/no-vmlinux/GLOBAL_POWER_EVENTS.100000.1.0.0.0
/var/lib/oprofile/samples/current/{kern}/no-vmlinux/{dep}/{kern}/no-vmlinux/GLOBAL_POWER_EVENTS.100000.1.0.0.1
/no-vmlinux /no-vmlinux GLOBAL_POWER_EVENTS 100000 1 0 0 1



[广告] 金秋最关注楼盘-房不胜房