summaryrefslogtreecommitdiff
path: root/source/module/monitor_trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/module/monitor_trace.h')
-rw-r--r--source/module/monitor_trace.h11
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