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