summaryrefslogtreecommitdiff
path: root/source/module/monitor_proc.h
diff options
context:
space:
mode:
authorzy <[email protected]>2023-12-19 22:19:57 -0500
committerzy <[email protected]>2023-12-19 22:19:57 -0500
commit46a03f035758dd6d379338c6b0f24c3fda475afe (patch)
tree548e93bbe2db66f3b577d9555fae986a6da1eec6 /source/module/monitor_proc.h
parentb1c831d63d5f53e6baa1d3ad1420094b55e3d802 (diff)
proc add stack_capture_mode
Diffstat (limited to 'source/module/monitor_proc.h')
-rw-r--r--source/module/monitor_proc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/module/monitor_proc.h b/source/module/monitor_proc.h
index 8ed4efc..af8f743 100644
--- a/source/module/monitor_proc.h
+++ b/source/module/monitor_proc.h
@@ -4,10 +4,13 @@
#define DEFAULT_INTERVAL_NS 10000 // 10us
#define DEFAULT_DUMP_RESET_SEC 10 // 60s
#define DEFAULT_SAMPLE_ALL 0
+#define STACK_CAPTURE_IMMEDIATE 0
+#define STACK_CAPTURE_AGGREGATE 1
extern int def_interval_ns;
extern int dump_reset_sec;
extern int sample_all;
+extern int stack_capture_mode;
int monitor_proc_init(void);
int monitor_proc_exit(void);