diff --git a/agent/src/config/config.rs b/agent/src/config/config.rs index 10f11cba2b4..881e15a204c 100644 --- a/agent/src/config/config.rs +++ b/agent/src/config/config.rs @@ -2262,7 +2262,7 @@ impl Default for FlowLogFilters { fn default() -> Self { Self { l4_capture_network_types: vec![0], - l7_capture_network_types: vec![], + l7_capture_network_types: vec![0], l4_ignored_observation_points: vec![], l7_ignored_observation_points: vec![], } diff --git a/agent/src/ebpf/user/profile/stringifier.c b/agent/src/ebpf/user/profile/stringifier.c index 88d5e28dd6a..3913eb50a13 100644 --- a/agent/src/ebpf/user/profile/stringifier.c +++ b/agent/src/ebpf/user/profile/stringifier.c @@ -757,7 +757,7 @@ char *resolve_and_gen_stack_trace_str(struct bpf_tracer *t, len += strlen(uprobe_str) + 1; } - if (v->intpstack != 0) { + if (v->intpstack > 0) { i_trace_str = folded_stack_trace_string(t, v->intpstack, v->tgid, custom_stack_map_name, h, new_cache, info_p, v->timestamp, ignore_libs, true); if (i_trace_str != NULL) { len += strlen(i_trace_str) + strlen(INCOMPLETE_PYTHON_STACK) + 2; diff --git a/server/agent_config/template.yaml b/server/agent_config/template.yaml index d60cb10dd14..934370d711f 100644 --- a/server/agent_config/template.yaml +++ b/server/agent_config/template.yaml @@ -5271,7 +5271,7 @@ outputs: # TODO # upgrade_from: l7_log_store_tap_types # TODO: 候选项需要特殊处理 - l7_capture_network_types: [] + l7_capture_network_types: [0] # type: int # name: # en: Ignored Observation Points for L4