#204 Oprofile fails to record any samples on VIA C7 processor



cpu family : 6
model : 10
model name : VIA Esther processor
stepping : 9

kernel 3.0.4
oprofile 0.9.7

This processor is most commonly used in thin clients, notably by Hewlett-Packard, WYSE and Fujitsu. I am profiling code that depends on hardware-specific instructions (accelerated crypto functions).

# opcontrol --init
# dmesg | tail -n 1
[23369.717989] oprofile: using NMI timer interrupt.
# opcontrol --no-vmlinux --callgraph 6 --separate=lib
# opcontrol --status
Daemon not running
Separate options: library
vmlinux file: none
Image filter: none
Call-graph depth: 6
# opcontrol --list-events
Using timer interrupt.
# opcontrol --start
Using 2.6+ OProfile kernel interface.
Using log file /var/lib/oprofile/samples/oprofiled.log
Daemon started.
Profiler running.

Here I run my application, for over 30 seconds just to be sure. Tried some system binaries to the same effect.
# opcontrol --stop
# opcontrol --dump
# opreport
error: no sample files found: profile specification too strict ?

oprofiled.log attached

I realize that is a bit of wishful thinking on my part to file a bug for supporting this rather obscure processor but perhaps it's an easy fix. I will be happy to provide any necessary information. I can provide SSH access to the affected machine as well.


  • fijam

    fijam - 2011-10-31


  • Maynard Johnson

    Maynard Johnson - 2011-10-31

    Please don't open bugs for this kind of issue. This "no sample files found" message is due to either 1) user error or 2) lack of support for the processor, either in oprofile userspace or oprofile kernel driver. For cause #1, you need to communicate interactively to debug this (either on the oprofile-list or oprofile IRC). Since the starting message indicates oprofile is using NMI timer interrupt, the cause is likely due to #1, not #2.

  • Maynard Johnson

    Maynard Johnson - 2011-10-31
    • status: open --> closed-rejected

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks