#include "op_types.h"
#include "op_list.h"
Go to the source code of this file.
Data Structures | |
struct | kernel_image |
Functions | |
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) |
struct kernel_image * | find_kernel_image (struct transient const *trans) |
Dealing with the kernel and kernel module images
Definition in file opd_kernel.h.
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 by PC value
trans | holds PC value to look up |
find the kernel image which contains this PC.
Return NULL if not found.
Definition at line 208 of file opd_kernel.c.
References kernel_image::end, kernel_image::list, list_entry, list_for_each, no_vmlinux, operf_transient::pc, kernel_image::start, trans, vmlinux_image, and xen_image.
Referenced by opd_put_ibs_sample(), and sfile_find().
void opd_create_vmlinux | ( | char const * | name, | |
char const * | arg | |||
) |
create the kernel image
Definition at line 37 of file opd_kernel.c.
References kernel_image::end, kernel_image::list, list_init(), kernel_image::name, no_vmlinux, kernel_image::start, verbprintf, vmisc, and vmlinux_image.
Referenced by opd_26_init().
void opd_create_xen | ( | char const * | name, | |
char const * | arg | |||
) |
Definition at line 62 of file opd_kernel.c.
References kernel_image::end, kernel_image::list, list_init(), kernel_image::name, no_xen, kernel_image::start, verbprintf, vmisc, and xen_image.
Referenced by opd_26_init().
void opd_reread_module_info | ( | void | ) |
opd_reread_module_info - parse /proc/modules for kernel modules
Definition at line 139 of file opd_kernel.c.
References kernel_image::end, kernel_image::name, no_vmlinux, op_close_file(), op_get_line(), op_try_open_file(), opd_clear_modules(), opd_create_module(), kernel_image::start, verbprintf, and vmodule.
Referenced by code_module_loaded(), and opd_26_init().