aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb/linux/constants.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gdb/linux/constants.py.in')
-rw-r--r--scripts/gdb/linux/constants.py.in13
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)
44LX_VALUE(SB_NOATIME) 46LX_VALUE(SB_NOATIME)
45LX_VALUE(SB_NODIRATIME) 47LX_VALUE(SB_NODIRATIME)
46 48
49/* linux/htimer.h */
50LX_GDBPARSED(hrtimer_resolution)
51
47/* linux/mount.h */ 52/* linux/mount.h */
48LX_VALUE(MNT_NOSUID) 53LX_VALUE(MNT_NOSUID)
49LX_VALUE(MNT_NODEV) 54LX_VALUE(MNT_NODEV)
@@ -52,8 +57,16 @@ LX_VALUE(MNT_NOATIME)
52LX_VALUE(MNT_NODIRATIME) 57LX_VALUE(MNT_NODIRATIME)
53LX_VALUE(MNT_RELATIME) 58LX_VALUE(MNT_RELATIME)
54 59
60/* linux/threads.h */
61LX_VALUE(NR_CPUS)
62
55/* linux/of_fdt.h> */ 63/* linux/of_fdt.h> */
56LX_VALUE(OF_DT_HEADER) 64LX_VALUE(OF_DT_HEADER)
57 65
58/* Kernel Configs */ 66/* Kernel Configs */
67LX_CONFIG(CONFIG_GENERIC_CLOCKEVENTS)
68LX_CONFIG(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST)
69LX_CONFIG(CONFIG_HIGH_RES_TIMERS)
70LX_CONFIG(CONFIG_NR_CPUS)
59LX_CONFIG(CONFIG_OF) 71LX_CONFIG(CONFIG_OF)
72LX_CONFIG(CONFIG_TICK_ONESHOT)