43.6. Understanding /dev/profile/

The /dev/oprofile/ directory contains the file system for OProfile. Use the cat command to display the values of the virtual files in this file system. For example, the following command displays the type of processor OProfile detected:

cat /dev/oprofile/cpu_type

A directory exists in /dev/oprofile/ for each counter. For example, if there are 2 counters, the directories /dev/oprofile/0/ and dev/oprofile/1/ exist.

Each directory for a counter contains the following files:

The values of these files can be retrieved with the cat command. For example:

cat /dev/oprofile/0/count

mirror server hosted at Truenetwork, Russian Federation.