do_dump_sa

- module
- ucli
This commit is contained in:
zy
2023-12-12 04:05:56 -05:00
parent 96462422ce
commit 69bf4c8c69
7 changed files with 155 additions and 75 deletions

View File

@@ -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