summaryrefslogtreecommitdiff
path: root/source/module/monitor_trace.h
diff options
context:
space:
mode:
authorzy <[email protected]>2023-11-19 20:30:48 -0500
committerzy <[email protected]>2023-11-19 20:30:48 -0500
commit504f2fb903a6366f10290ebf99f3f079ba6fd4c7 (patch)
tree5e0d65132f0043190982ef43f80832c1536ce648 /source/module/monitor_trace.h
parent9ad92898dab12eae7028a1761f24284de1af29f4 (diff)
trace add threshold_num
Diffstat (limited to 'source/module/monitor_trace.h')
-rw-r--r--source/module/monitor_trace.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/module/monitor_trace.h b/source/module/monitor_trace.h
index f127d7b..652ccb4 100644
--- a/source/module/monitor_trace.h
+++ b/source/module/monitor_trace.h
@@ -25,6 +25,7 @@ typedef struct {
int et_type;
unsigned long id;
unsigned long long tv;
+ int threshold_num;
threshold threshold_record[TIMER_MAX_WATCH_NUM];
} variable_monitor_record;
@@ -99,6 +100,10 @@ void dump_proc_chains_argv(
int style, struct task_struct *tsk, mm_tree *mm_tree,
proc_chains_detail *detail); // get process chains argv
+// print
+// void diag_printf_kern_stack(kern_stack_detail *kern_stack);
+// void diag_printf_kern_stack(kern_stack_detail *kern_stack, int reverse);
+
// orig_X
extern struct sched_class *orig_idle_sched_class;
extern int (*orig_get_task_type)(struct sched_entity *se);