-
Notifications
You must be signed in to change notification settings - Fork 24
/
kprobe.lds
35 lines (31 loc) · 833 Bytes
/
kprobe.lds
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
/*
* The kprobes linker script.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
SECTIONS {
. = ALIGN(8);
.__kprobes_template : {
__start_kprobe_template = .;
KEEP(*(.__kprobe_template))
__stop_kprobe_template = .;
. = ALIGN(8);
__start_kretprobe_template = .;
KEEP(*(.__kretprobe_template))
__stop_kretprobe_template = .;
. = ALIGN(8);
__start_tracepoint_template = .;
KEEP(*(.__tracepoint_template))
__stop_tracepoint_template = .;
. = ALIGN(8);
__start_kprobe_initcall = .;
KEEP(*(.__kprobe_initcall))
__stop_kprobe_initcall = .;
. = ALIGN(8);
__start_print_event_class = .;
KEEP(*(.__print_event_class))
__stop_print_event_class = .;
}
}