[895e46]: daemon / opd_kernel.h Maximize Restore History

Download this file

opd_kernel.h    39 lines (30 with data), 836 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/**
* @file daemon/opd_kernel.h
* Dealing with the kernel and kernel module images
*
* @remark Copyright 2002 OProfile authors
* @remark Read the file COPYING
*
* @author John Levon
* @author Philippe Elie
*/
#ifndef OPD_KERNEL_H
#define OPD_KERNEL_H
#include "op_types.h"
#include "op_list.h"
struct transient;
/** create the kernel image */
void opd_create_vmlinux(char const * name, char const * arg);
/** opd_reread_module_info - parse /proc/modules for kernel modules */
void opd_reread_module_info(void);
/** Describes a kernel module or vmlinux itself */
struct kernel_image {
char * name;
vma_t start;
vma_t end;
struct list_head list;
};
/** Find a kernel_image based upon the given parameters in trans. */
struct kernel_image *
find_kernel_image(struct transient const * trans);
#endif /* OPD_KERNEL_H */