diff options
Diffstat (limited to 'scripts/gdb/linux/constants.py.in')
| -rw-r--r-- | scripts/gdb/linux/constants.py.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/gdb/linux/constants.py.in b/scripts/gdb/linux/constants.py.in index d3319a80788a..1d73083da6cb 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,9 @@ | |||
| 36 | 39 | ||
| 37 | import gdb | 40 | import gdb |
| 38 | 41 | ||
| 42 | /* linux/clk-provider.h */ | ||
| 43 | LX_GDBPARSED(CLK_GET_RATE_NOCACHE) | ||
| 44 | |||
| 39 | /* linux/fs.h */ | 45 | /* linux/fs.h */ |
| 40 | LX_VALUE(SB_RDONLY) | 46 | LX_VALUE(SB_RDONLY) |
| 41 | LX_VALUE(SB_SYNCHRONOUS) | 47 | LX_VALUE(SB_SYNCHRONOUS) |
| @@ -44,6 +50,9 @@ LX_VALUE(SB_DIRSYNC) | |||
| 44 | LX_VALUE(SB_NOATIME) | 50 | LX_VALUE(SB_NOATIME) |
| 45 | LX_VALUE(SB_NODIRATIME) | 51 | LX_VALUE(SB_NODIRATIME) |
| 46 | 52 | ||
| 53 | /* linux/htimer.h */ | ||
| 54 | LX_GDBPARSED(hrtimer_resolution) | ||
| 55 | |||
| 47 | /* linux/mount.h */ | 56 | /* linux/mount.h */ |
| 48 | LX_VALUE(MNT_NOSUID) | 57 | LX_VALUE(MNT_NOSUID) |
| 49 | LX_VALUE(MNT_NODEV) | 58 | LX_VALUE(MNT_NODEV) |
| @@ -52,8 +61,16 @@ LX_VALUE(MNT_NOATIME) | |||
| 52 | LX_VALUE(MNT_NODIRATIME) | 61 | LX_VALUE(MNT_NODIRATIME) |
| 53 | LX_VALUE(MNT_RELATIME) | 62 | LX_VALUE(MNT_RELATIME) |
| 54 | 63 | ||
| 64 | /* linux/threads.h */ | ||
| 65 | LX_VALUE(NR_CPUS) | ||
| 66 | |||
| 55 | /* linux/of_fdt.h> */ | 67 | /* linux/of_fdt.h> */ |
| 56 | LX_VALUE(OF_DT_HEADER) | 68 | LX_VALUE(OF_DT_HEADER) |
| 57 | 69 | ||
| 58 | /* Kernel Configs */ | 70 | /* Kernel Configs */ |
| 71 | LX_CONFIG(CONFIG_GENERIC_CLOCKEVENTS) | ||
| 72 | LX_CONFIG(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST) | ||
| 73 | LX_CONFIG(CONFIG_HIGH_RES_TIMERS) | ||
| 74 | LX_CONFIG(CONFIG_NR_CPUS) | ||
| 59 | LX_CONFIG(CONFIG_OF) | 75 | LX_CONFIG(CONFIG_OF) |
| 76 | LX_CONFIG(CONFIG_TICK_ONESHOT) | ||
