  #include <sys/time.h>
  #include <sys/resource.h>
  
  #include <android/log.h>
  #include <log/logger.h>
  #include <log/logprint.h>
  
  #include "cereal/messaging/messaging.h"
 
</s> remove #include "selfdrive/common/util.h"
 </s> add #undef LOG_ID_KERNEL
#define LOG_ID_KERNEL 5 </s> remove       sent_msgs = {}
 </s> add 



  #include <android/log.h>
  #include <log/logger.h>
  #include <log/logprint.h>
  
  #include "cereal/messaging/messaging.h"
replace replace replace keep keep keep keep keep
 logcatd_android.cc: fix repeating the same messages (#23713)

* fix repeating the same message

* cleanup

* use blocking mode

* check duplicate msg in test 
selfdrive/logcatd/logcatd_android.cc