aboutsummaryrefslogblamecommitdiffstats
path: root/samples/tracepoints/Makefile
blob: 36479ad9ae145fe1e6ba7d6e694dc7a6bce679de (plain) (tree)
1
2
3
4
5
6





                                                              
# builds the tracepoint example kernel modules;
# then to use one (as root):  insmod <module_name.ko>

obj-$(CONFIG_SAMPLE_TRACEPOINTS) += tracepoint-sample.o
obj-$(CONFIG_SAMPLE_TRACEPOINTS) += tracepoint-probe-sample.o
obj-$(CONFIG_SAMPLE_TRACEPOINTS) += tracepoint-probe-sample2.o
fd7e07c522c7863fee6f07e53cf3fc14'>4d022e35fd7e
de18c850af70





4a1421f81b64
7c9034735ecc
77ef50a52271
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

                                    
 


                          


                        





                                    
                                            
 
                                         
#ifndef ASM_X86__EMERGENCY_RESTART_H
#define ASM_X86__EMERGENCY_RESTART_H

enum reboot_type {
	BOOT_TRIPLE = 't',
	BOOT_KBD = 'k',
#ifdef CONFIG_X86_32
	BOOT_BIOS = 'b',
#endif
	BOOT_ACPI = 'a',
	BOOT_EFI = 'e'
};

extern enum reboot_type reboot_type;

extern void machine_emergency_restart(void);

#endif /* ASM_X86__EMERGENCY_RESTART_H */