This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_DEMAND_PAGING_STATS

Gather Demand Paging Statistics

Type: bool

Help

This enables gathering various statistics related to demand paging,
e.g. number of pagefaults. This is useful for tuning eviction
algorithms and optimizing backing store.

Should say N in production system as this is not without cost.

Direct dependencies

DEMAND_PAGING && MMU

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At arch/Kconfig:704

Included via Kconfig:8Kconfig.zephyr:37

Menu path: (Top) → Enable MMU features → Enable demand paging [EXPERIMENTAL]

config DEMAND_PAGING_STATS
    bool "Gather Demand Paging Statistics"
    depends on DEMAND_PAGING && MMU
    help
      This enables gathering various statistics related to demand paging,
      e.g. number of pagefaults. This is useful for tuning eviction
      algorithms and optimizing backing store.

      Should say N in production system as this is not without cost.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)