op_abi.c File Reference

#include "op_abi.h"
#include "odb.h"
#include "op_sample_file.h"
#include <stdio.h>
#include <stddef.h>
#include <assert.h>
Include dependency graph for op_abi.c:

Go to the source code of this file.

Functions

struct op_abi_entry const * get_abi (void)
 return array is terminated by a NULL entry in name field
int op_little_endian (void)
 return non zero if the abi is little endian
int op_write_abi_to_file (char const *abi_file)

Variables

static struct op_abi_entry const abi_entries []

Detailed Description

This file contains a simple C interface to the ABI-describing functionality, the majority of which is implemented in C++. This is the file which is intended for use in files outside the /libabi directory.

Remarks:
Copyright 2002, 2005 OProfile authors
Read the file COPYING
Author:
Graydon Hoare
Philippe Elie

Definition in file op_abi.c.


Function Documentation

struct op_abi_entry const* get_abi ( void   )  [read]

return array is terminated by a NULL entry in name field

Definition at line 61 of file op_abi.c.

Referenced by abi::abi(), and op_write_abi_to_file().

Here is the caller graph for this function:

int op_little_endian ( void   ) 

return non zero if the abi is little endian

Definition at line 67 of file op_abi.c.

Referenced by abi::abi(), and op_write_abi_to_file().

Here is the caller graph for this function:

int op_write_abi_to_file ( char const *  abi_file  ) 

Write current abi to file. return 1 on success, 0 on failure

Definition at line 79 of file op_abi.c.

References get_abi(), op_abi_entry::name, op_abi_entry::offset, and op_little_endian().

Referenced by operf_read::convertPerfData(), and opd_write_abi().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

struct op_abi_entry const abi_entries[] [static]

Definition at line 22 of file op_abi.c.


Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1