c - OPROFILE can't get performance data -


I am using OProfile to collect some performance data. But I got into trouble:

Here's my shell:.

  ~ # rm -f /root/.oprofile/daemonrc ~ # opcontrol --setup --no-vmlinux ~ # opcontrol --init ~ # opcontrol --reset ~ # Opcontrol --start ~ # opcontrol --status Daemon running: pid 14,909 different options: None vmlinux file: None Image filter: None Call-Graph: Depth: 0 ~ # opcontrol --shutdown Prevent Profiling DAmon Kill ~ # Opreport Error: No sample files found: profile specification very strict? ~ # Tree / var / lib / oprofile / / var / lib / oprofile / a ??? One ???? Ai Ai ???? One ???? Full_dump is an "F" Jitdump A "????" Line Opd_pipe a ???? One ???? ??? Samples A "????" Line Current one ???? One ???? One ???? One ???? Statistics a ???? One ???? One ???? Bt_lost_no_mapping one ???? One ???? One ???? One ???? Cpu0 a ???? a???? One ???? One ???? One ???? Backtas_barted A ???? One ???? One ???? One ???? Sample_invalid_eip one ???? a???? One ???? One ???? One ???? Sample_lost_overflow a ???? a???? One ???? One ???? One ???? Sample_received one ???? One ???? One ???? One ???? Event_lost_overflow a ???? One ???? One ???? One ???? Multiplex counter One ???? One ???? One ???? Sample_lost_no_mapping one ???? One ???? One ???? One ???? Sample_lost_no_mm one ???? One ???? Line Oprofiled.log 5 directories, 13 files ~ # dmesg | Grep oprofile oprofile: disrupting NMI ~ # Uname - A Linux localhost.localdomain 2.6.32-220.4.2.el6.x86_64 # 1 SMP Tuesday 14th Feb 04:00:16 GMT 2012 x86_64 x86_64 x86_64 gnu / linux ~ # cat / Proc / cpuinfo Processor: 0 VENDOR_ID: GenuineIntel cpu Family: 6 Model: 44 Model Name: Intel (R) Xeon (R) CPU E5620 @ 2.40GHz Stepping: 2 CPU MHz: 2400.085 Cache Size: 12288 KB FPU: Yes fpu_exception: Yes level of CPUID: 11 WP: Yes Flags: FPU VME DE PSC MSR PAE mce cx8 apic mtrr PGE MCA cmov pat pse36 clflush DTS ACPI MMX fxsr SSE SSE2 A Ss syscall nx rdtscp lm CONSTANT_TSC up arch_perfmon pebs xtopology BTS tsc_reliable NONSTOP_TSC aperfmperf incorrect_spinlock PNI pclmulqdq SSSE3 cx16 sse4_1 sse4_2 popcnt AES hypervisor lahf_lm Ida arat epb dts bogomips: 4800.17 clflush Size: 64 cache_elination: 64 address size: 40 bit physical, 48 bit Virtual Power Management:    

Some CPU types required to use hardware performance Hardware support do not provide counter. On these machines, the opporal falls back to using the interrupt for timer interpreting to collect the samples to use the real-time clock to return.

You can use interfacing between timers by using the timer = 1 module parameter.If the OProfile kernel module was created, then you have the parameter 'timer = 1' with modprobe command Will have to pass. To pass the 'timer = 1' parameter, do this before executing opcontrol --init or edit the opcontrol command 's

modprobe oprofile timer = 1

Then continue your profile process

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -