Determine which oprofile kernel interface used. More...
#include <stdio.h>#include <stdlib.h>#include <string.h>#include "op_cpu_type.h"#include "op_file.h"
Functions | |
| op_interface | op_get_interface (void) |
| get the INTERFACE used to communicate between daemon and the kernel | |
Determine which oprofile kernel interface used.
| op_interface op_get_interface | ( | void | ) |
get the INTERFACE used to communicate between daemon and the kernel
returns OP_INTERFACE_NO_GOOD if the INTERFACE could not be identified. This function will identify the interface as OP_INTERFACE_NO_GOOD if the module is not loaded.
References op_file_readable(), OP_INTERFACE_24, OP_INTERFACE_26, and OP_INTERFACE_NO_GOOD.
Referenced by daemon_status::daemon_status(), and oprof_start::oprof_start().
1.6.1