[PATCH v3 06/26] timers: Annotate static information into meminspect
Mukesh Ojha <[email protected]> Wed, 08 Jul 2026 11:01:45 +0530
| Newsgroups | org.kernel.vger.workflows,org.kernel.vger.linux-arch,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel,org.kernel.vger.linux-remoteproc,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
From: Eugen Hristev <[email protected]> Annotate vital static information into inspection table: - jiffies_64 Information on these variables is stored in a dedicated meminspect section. Signed-off-by: Eugen Hristev <[email protected]> Signed-off-by: Mukesh Ojha <[email protected]> --- kernel/time/timer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/time/timer.c b/kernel/time/timer.c index 655a8c6cd84d..6cbb054c7c4b 100644 --- a/kernel/time/timer.c +++ b/kernel/time/timer.c @@ -44,6 +44,7 @@ #include <linux/compat.h> #include <linux/random.h> #include <linux/sysctl.h> +#include <linux/meminspect.h> #include <linux/uaccess.h> #include <asm/unistd.h> @@ -60,6 +61,7 @@ __visible u64 jiffies_64 __cacheline_aligned_in_smp = INITIAL_JIFFIES; EXPORT_SYMBOL(jiffies_64); +MEMINSPECT_SIMPLE_ENTRY(jiffies_64); /* * The timer wheel has LVL_DEPTH array levels. Each level provides an array of -- 2.53.0