opd_kernel.h File Reference

Dealing with the kernel and kernel module images. More...

#include "op_types.h"
#include "op_list.h"
Include dependency graph for opd_kernel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kernel_image
 Describes a kernel module or vmlinux itself. More...

Functions

void opd_create_vmlinux (char const *name, char const *arg)
 create the kernel image
void opd_create_xen (char const *name, char const *arg)
void opd_reread_module_info (void)
 opd_reread_module_info - parse /proc/modules for kernel modules
struct kernel_imagefind_kernel_image (struct transient const *trans)
 Find a kernel_image based upon the given parameters in trans.

Detailed Description

Dealing with the kernel and kernel module images.

Remarks:
Copyright 2002 OProfile authors
Read the file COPYING
Author:
John Levon
Philippe Elie Modified by Aravind Menon for Xen These modifications are: Copyright (C) 2005 Hewlett-Packard Co.

Function Documentation

struct kernel_image* find_kernel_image ( struct transient const *  trans  )  [read]

Find a kernel_image based upon the given parameters in trans.

Find a kernel_image based upon the given parameters in trans.

Parameters:
trans holds PC value to look up

find the kernel image which contains this PC.

Return NULL if not found.

References kernel_image::end, kernel_image::list, list_entry, list_for_each, no_vmlinux, and kernel_image::start.

Referenced by sfile_find().

void opd_create_vmlinux ( char const *  name,
char const *  arg 
)
void opd_create_xen ( char const *  name,
char const *  arg 
)
void opd_reread_module_info ( void   ) 

opd_reread_module_info - parse /proc/modules for kernel modules

References kernel_image::end, kernel_image::name, no_vmlinux, op_close_file(), op_get_line(), op_try_open_file(), kernel_image::start, verbprintf, and vmodule.


Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1