summaryrefslogtreecommitdiff
path: root/source/module
diff options
context:
space:
mode:
authorzy <[email protected]>2023-11-21 00:14:55 -0500
committerzy <[email protected]>2023-11-21 00:14:55 -0500
commit6921e2bf2fc58ebf14123553e4c24c0fe3c47fdd (patch)
tree5349731b2c9424550b5a63fd57649d477c509b23 /source/module
parent47ef0298843971ddd175a23fa74f64a38989743b (diff)
do_each_thread
Diffstat (limited to 'source/module')
-rw-r--r--source/module/monitor_kernel_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/module/monitor_kernel_lib.c b/source/module/monitor_kernel_lib.c
index e15e1e9..80708ab 100644
--- a/source/module/monitor_kernel_lib.c
+++ b/source/module/monitor_kernel_lib.c
@@ -237,7 +237,7 @@ enum hrtimer_restart check_variable_cb(struct hrtimer *timer) {
do_each_thread(g, p) {
if (p->__state == TASK_RUNNING || __task_contributes_to_load(p) ||
- p->__state == TASK_IDLE || 1) {
+ p->__state == TASK_IDLE) {
tsk_info.et_type = 1; //! todo event type
tsk_info.id = event_id;
tsk_info.tv = vm_record.tv;