diff options
| author | zy <[email protected]> | 2023-12-12 04:05:56 -0500 |
|---|---|---|
| committer | zy <[email protected]> | 2023-12-12 04:05:56 -0500 |
| commit | 69bf4c8c69c3f0d2cbd43a73c4f14a4e44ee869a (patch) | |
| tree | 4dd8f31d73aaf7c1bd8c2aa6f3c58173408970c0 /source/module/monitor_trace.h | |
| parent | 96462422ce52424e5a1e77a7232efdb4889ed83a (diff) | |
do_dump_sa
- module
- ucli
Diffstat (limited to 'source/module/monitor_trace.h')
| -rw-r--r-- | source/module/monitor_trace.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/source/module/monitor_trace.h b/source/module/monitor_trace.h index 9ec2fe8..4cdd24c 100644 --- a/source/module/monitor_trace.h +++ b/source/module/monitor_trace.h @@ -14,7 +14,7 @@ #define PROCESS_CHAINS_COUNT 10 // max count of process chains #define PROCESS_ARGV_LEN 128 // max length of process argv -#define MAX_NAME_LEN (127) // max name length +#define MAX_NAME_LEN (127) // max name length #define TIMER_MAX_WATCH_NUM (32) // A timer max watch number at once time #define DIAG_USER_STACK_SIZE (16 * 1024) @@ -29,7 +29,7 @@ typedef struct { char name[MAX_NAME_LEN + 1]; // name void *ptr; // virtual address long long threshold; // threshold value - long long true_value; // target true value + long long true_value; // target true value } threshold; typedef struct { @@ -107,9 +107,9 @@ typedef struct { int et_type; unsigned long id; unsigned long long tv; - task_detail task; // brief - kern_stack_detail kern_stack; // kernel stack -} variable_monitor_task_system; + task_detail task; // brief + kern_stack_detail kern_stack; // kernel stack +} variable_monitor_task_system; typedef struct { struct radix_tree_root mm_tree; @@ -118,6 +118,7 @@ typedef struct { extern mm_tree mm_tree_struct; extern struct diag_variant_buffer load_monitor_variant_buffer; // Global buffer +extern struct diag_variant_buffer stand_alone_buffer; // for single work void diag_task_brief(struct task_struct *tsk, task_detail *detail); // get task brief |
