Skip to content
Commit 31a4e1cc authored by Savinay Dharmappa's avatar Savinay Dharmappa Committed by Anas Nashif
Browse files

subsys: kernel_event_logger: change kernel event values



Each bit of "_sys_k_event_logger_mask" corresponds to a
kernel event type. Hence KERNEL_EVENT_TYPE values should be
power of 2. Previous implementation was not adhering
to it ,because of which "sys_k_must_log_event" and
"sys_k_event_logger_set_mask" had unintended effects when
used to mask certain kernel events.

Signed-off-by: default avatarSavinay Dharmappa <savinay.dharmappa@intel.com>
parent b7ef393b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment