op_get_interface.c File Reference

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"
Include dependency graph for op_get_interface.c:

Functions

op_interface op_get_interface (void)
 get the INTERFACE used to communicate between daemon and the kernel

Detailed Description

Determine which oprofile kernel interface used.

Remarks:
Copyright 2002 OProfile authors
Read the file COPYING
Author:
Will Cohen

Function Documentation

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_26, and OP_INTERFACE_NO_GOOD.

Referenced by daemon_status::daemon_status(), and oprof_start::oprof_start().


Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1