Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#269 opreport error: header timestamps are different

None
closed
Carl Love
None
5
2014-09-11
2014-05-22
Maynard Johnson
No

The opreport error below [1] can occur when all of the following conditions are true:
- operf was run with the '--separate-thread' option
- operf was run either as root or as normal user where
/proc/sys/kernel/kptr_restrict is set to 0
- The application being profiled is a multi-threaded app that executes both
pthread_create and fork[2]

[1]
[maynard@oc3431575272 myJavaStuff]$ opreport --merge tgid -l
Using /home/maynard/myJavaStuff/oprofile_data/samples/ for samples directory.

CPU: Core 2, speed 2534 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (Unhalted core cycles) count 100000
opreport error: header timestamps are different (1400784373, 1400784371) for /home/maynard/myJavaStuff/oprofile_data/samples/current/{root}/usr/lib/jvm/java-1.6.0-ibm-1.6.0.14.0.x86_64/jre/bin/java/{dep}/{root}/proc/kallsyms/CPU_CLK_UNHALTED.100000.0.23994.24005.all

[2]Some Java versions incorporate both pthreads and forks, but for ease of reproducing the problem, I will attach a testcase.

1 Attachments

Discussion

    • status: open --> open-fixed
    • Group: -->
     
  • Patch applied. Thanks.

     
    • status: open-fixed --> closed