diff options
| author | zy <[email protected]> | 2023-11-21 00:14:55 -0500 |
|---|---|---|
| committer | zy <[email protected]> | 2023-11-21 00:14:55 -0500 |
| commit | 6921e2bf2fc58ebf14123553e4c24c0fe3c47fdd (patch) | |
| tree | 5349731b2c9424550b5a63fd57649d477c509b23 /source/module | |
| parent | 47ef0298843971ddd175a23fa74f64a38989743b (diff) | |
do_each_thread
Diffstat (limited to 'source/module')
| -rw-r--r-- | source/module/monitor_kernel_lib.c | 2 |
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; |
