diff options
Diffstat (limited to 'scripts/gdb/linux/constants.py.in')
-rw-r--r-- | scripts/gdb/linux/constants.py.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/gdb/linux/constants.py.in b/scripts/gdb/linux/constants.py.in index d3319a80788a..76f46f427b96 100644 --- a/scripts/gdb/linux/constants.py.in +++ b/scripts/gdb/linux/constants.py.in | |||
@@ -13,8 +13,10 @@ | |||
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include <linux/fs.h> | 15 | #include <linux/fs.h> |
16 | #include <linux/hrtimer.h> | ||
16 | #include <linux/mount.h> | 17 | #include <linux/mount.h> |
17 | #include <linux/of_fdt.h> | 18 | #include <linux/of_fdt.h> |
19 | #include <linux/threads.h> | ||
18 | 20 | ||
19 | /* We need to stringify expanded macros so that they can be parsed */ | 21 | /* We need to stringify expanded macros so that they can be parsed */ |
20 | 22 | ||
@@ -44,6 +46,9 @@ LX_VALUE(SB_DIRSYNC) | |||
44 | LX_VALUE(SB_NOATIME) | 46 | LX_VALUE(SB_NOATIME) |
45 | LX_VALUE(SB_NODIRATIME) | 47 | LX_VALUE(SB_NODIRATIME) |
46 | 48 | ||
49 | /* linux/htimer.h */ | ||
50 | LX_GDBPARSED(hrtimer_resolution) | ||
51 | |||
47 | /* linux/mount.h */ | 52 | /* linux/mount.h */ |
48 | LX_VALUE(MNT_NOSUID) | 53 | LX_VALUE(MNT_NOSUID) |
49 | LX_VALUE(MNT_NODEV) | 54 | LX_VALUE(MNT_NODEV) |
@@ -52,8 +57,16 @@ LX_VALUE(MNT_NOATIME) | |||
52 | LX_VALUE(MNT_NODIRATIME) | 57 | LX_VALUE(MNT_NODIRATIME) |
53 | LX_VALUE(MNT_RELATIME) | 58 | LX_VALUE(MNT_RELATIME) |
54 | 59 | ||
60 | /* linux/threads.h */ | ||
61 | LX_VALUE(NR_CPUS) | ||
62 | |||
55 | /* linux/of_fdt.h> */ | 63 | /* linux/of_fdt.h> */ |
56 | LX_VALUE(OF_DT_HEADER) | 64 | LX_VALUE(OF_DT_HEADER) |
57 | 65 | ||
58 | /* Kernel Configs */ | 66 | /* Kernel Configs */ |
67 | LX_CONFIG(CONFIG_GENERIC_CLOCKEVENTS) | ||
68 | LX_CONFIG(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST) | ||
69 | LX_CONFIG(CONFIG_HIGH_RES_TIMERS) | ||
70 | LX_CONFIG(CONFIG_NR_CPUS) | ||
59 | LX_CONFIG(CONFIG_OF) | 71 | LX_CONFIG(CONFIG_OF) |
72 | LX_CONFIG(CONFIG_TICK_ONESHOT) | ||