# Copyright 2021 The Chromium OS Authors
# SPDX-License-Identifier: Apache-2.0

menuconfig SMF
	bool "State Machine Framework"
	help
	  Enable the State Machine Framework (SMF) library, which provides
	  support for flat and hierarchical state machines.

if SMF

config SMF_ANCESTOR_SUPPORT
	bool "Ancestor state support"
	help
	  Enable ancestor state support in the state machine framework,
	  allowing hierarchical state machines.

config SMF_INITIAL_TRANSITION
	depends on SMF_ANCESTOR_SUPPORT
	bool "Support initial transitions for ancestor states"
	help
	  Enable initial transition support, allowing each state to define
	  an initial transition to a sub-state upon entry.

config SMF_INSTRUMENTATION
	bool "State machine instrumentation hooks"
	help
	   If y, then the state machine framework includes instrumentation
	   hooks for observing state transitions

endif # SMF
