#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "op_cpu_type.h"
#include "op_file.h"
Go to the source code of this file.
Functions | |
op_interface | op_get_interface (void) |
Determine which oprofile kernel interface used
Definition in file op_get_interface.c.
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.
Definition at line 18 of file op_get_interface.c.
References op_file_readable(), OP_INTERFACE_24, OP_INTERFACE_26, and OP_INTERFACE_NO_GOOD.
Referenced by daemon_status::daemon_status(), get_ops(), oprof_start::oprof_start(), and oprof_start::save_config().