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.in17
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
37import gdb 40import gdb
38 41
42/* linux/clk-provider.h */
43LX_GDBPARSED(CLK_GET_RATE_NOCACHE)
44
39/* linux/fs.h */ 45/* linux/fs.h */
40LX_VALUE(SB_RDONLY) 46LX_VALUE(SB_RDONLY)
41LX_VALUE(SB_SYNCHRONOUS) 47LX_VALUE(SB_SYNCHRONOUS)
@@ -44,6 +50,9 @@ LX_VALUE(SB_DIRSYNC)
44LX_VALUE(SB_NOATIME) 50LX_VALUE(SB_NOATIME)
45LX_VALUE(SB_NODIRATIME) 51LX_VALUE(SB_NODIRATIME)
46 52
53/* linux/htimer.h */
54LX_GDBPARSED(hrtimer_resolution)
55
47/* linux/mount.h */ 56/* linux/mount.h */
48LX_VALUE(MNT_NOSUID) 57LX_VALUE(MNT_NOSUID)
49LX_VALUE(MNT_NODEV) 58LX_VALUE(MNT_NODEV)
@@ -52,8 +61,16 @@ LX_VALUE(MNT_NOATIME)
52LX_VALUE(MNT_NODIRATIME) 61LX_VALUE(MNT_NODIRATIME)
53LX_VALUE(MNT_RELATIME) 62LX_VALUE(MNT_RELATIME)
54 63
64/* linux/threads.h */
65LX_VALUE(NR_CPUS)
66
55/* linux/of_fdt.h> */ 67/* linux/of_fdt.h> */
56LX_VALUE(OF_DT_HEADER) 68LX_VALUE(OF_DT_HEADER)
57 69
58/* Kernel Configs */ 70/* Kernel Configs */
71LX_CONFIG(CONFIG_GENERIC_CLOCKEVENTS)
72LX_CONFIG(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST)
73LX_CONFIG(CONFIG_HIGH_RES_TIMERS)
74LX_CONFIG(CONFIG_NR_CPUS)
59LX_CONFIG(CONFIG_OF) 75LX_CONFIG(CONFIG_OF)
76LX_CONFIG(CONFIG_TICK_ONESHOT)