On 3/10/26 1:15 PM, Mukesh Ojha wrote:
> diff --git a/kernel/meminspect/Kconfig b/kernel/meminspect/Kconfig
> new file mode 100644
> index 000000000000..fa2b5a84b251
> --- /dev/null
> +++ b/kernel/meminspect/Kconfig
> @@ -0,0 +1,19 @@
> +# SPDX-License-Identifier: GPL-2.0
> +
> +config MEMINSPECT
> + bool "Allow the kernel to register memory regions for inspection
> purpose"
purposes"
> + help
> + Inspection mechanism allows registration of a specific memory
> + area(or object) for later inspection purpose.
area (or object) purposes.
> + Ranges are being added into an inspection table, which can be
are added
> + requested and analyzed by specific drivers.
> + Drivers would interface any hardware mechanism that will allow
> + inspection of the data, including but not limited to: dumping
> + for debugging, creating a coredump, analysis, or statistical
> + information.
> + Inspection table is created ahead of time such that it can be later
The inspection table
> + used regardless of the state of the kernel (running, frozen, crashed,
> + or any particular state).
> +
> + Note that modules using this feature must be rebuilt if option
if this option
> + changes.
--
~Randy
- [PATCH v2 00/25] Introduce meminspect Mukesh Ojha
- [PATCH v2 03/25] mm/percpu: Annotate static information ... Mukesh Ojha
- [PATCH v2 05/25] genirq/irqdesc: Annotate static informa... Mukesh Ojha
- [PATCH v2 04/25] cpu: Annotate static information into m... Mukesh Ojha
- [PATCH v2 07/25] kernel/fork: Annotate static informatio... Mukesh Ojha
- [PATCH v2 12/25] kernel/configs: Register dynamic inform... Mukesh Ojha
- [PATCH v2 06/25] timers: Annotate static information int... Mukesh Ojha
- [PATCH v2 01/25] kernel: Introduce meminspect Mukesh Ojha
- Re: [PATCH v2 01/25] kernel: Introduce meminspect Randy Dunlap
- Re: [PATCH v2 01/25] kernel: Introduce meminspect Randy Dunlap
- [PATCH v2 17/25] sched/core: Annotate runqueues into mem... Mukesh Ojha
- [PATCH v2 11/25] kernel/vmcore_info: Register dynamic in... Mukesh Ojha
- [PATCH v2 02/25] init/version: Annotate static informati... Mukesh Ojha
- [PATCH v2 20/25] printk: Register information into memin... Mukesh Ojha
- [PATCH v2 08/25] mm/page_alloc: Annotate static informat... Mukesh Ojha
- [PATCH v2 13/25] mm/init-mm: Annotate static information... Mukesh Ojha
- [PATCH v2 14/25] panic: Annotate static information into... Mukesh Ojha
- [PATCH v2 15/25] kallsyms: Annotate static information i... Mukesh Ojha
- [PATCH v2 09/25] mm/show_mem: Annotate static informatio... Mukesh Ojha

