File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -2411,7 +2411,6 @@ int set_ai_agent_data_limit_max(int limit_size)
24112411 memset (values , 0 , sizeof (values ));
24122412
24132413 if (!bpf_table_get_value (tracer , MAP_TRACER_CTX_NAME , 0 , values )) {
2414- ebpf_warning ("Get map '%s' failed.\n" , MAP_TRACER_CTX_NAME );
24152414 return ETR_NOTEXIST ;
24162415 }
24172416
@@ -2421,7 +2420,6 @@ int set_ai_agent_data_limit_max(int limit_size)
24212420
24222421 if (!bpf_table_set_value
24232422 (tracer , MAP_TRACER_CTX_NAME , 0 , (void * )& values )) {
2424- ebpf_warning ("Set '%s' failed\n" , MAP_TRACER_CTX_NAME );
24252423 return ETR_UPDATE_MAP_FAILD ;
24262424 }
24272425
Original file line number Diff line number Diff line change @@ -600,10 +600,10 @@ fn fetch_ai_agent_pids(feature: &str) -> Vec<u32> {
600600 if feature == "proc.gprocess_info" || feature == "proc.socket_list" {
601601 if let Some ( registry) = enterprise_utils:: ai_agent:: global_registry ( ) {
602602 let pids = registry. get_all_pids ( ) ;
603- debug ! ( "AI Agent: {} fetch {} pids" , feature, pids. len( ) ) ;
603+ trace ! ( "AI Agent: {} fetch {} pids" , feature, pids. len( ) ) ;
604604 return pids;
605605 }
606- debug ! ( "AI Agent: {} registry not initialized" , feature) ;
606+ trace ! ( "AI Agent: {} registry not initialized" , feature) ;
607607 }
608608 Vec :: new ( )
609609}
@@ -637,7 +637,7 @@ fn merge_ai_agent_processes(
637637 process_datas. push ( process_data) ;
638638 existing_pids. insert ( * pid) ;
639639 } else {
640- debug ! (
640+ trace ! (
641641 "AI Agent: pid {} not found in process cache, skip gprocess sync" ,
642642 pid
643643 ) ;
You can’t perform that action at this time.
0 commit comments