genivi-diagnostic-log-and-trace@lists.genivi.org

Diagnostic Log and Trace (DLT) Discussion List

View all threads

Query about RingBuffer

SK
Satish Kumar
Sun, Sep 6, 2020 4:42 PM

Hi  all,
I am going through the dlt-daemon source code and  could see  static ring buffer and dynamic ring buffer implementation  in code

  1. May I know when dynamic ring buffer should be prefered over the static ring buffer or vice versa?
  2. Is there a way to print the ring buffer usage in dlt-library for each module/application?3.The ring buffer of  dlt-libray and dlt-daemon is having cyclic behaviour or not?

Any help/suggestions would be appreciated

Thanks,Satish Yaduvanshi

Hi  all, I am going through the dlt-daemon source code and  could see  static ring buffer and dynamic ring buffer implementation  in code 1. May I know when dynamic ring buffer should be prefered over the static ring buffer or vice versa? 2. Is there a way to print the ring buffer usage in dlt-library for each module/application?3.The ring buffer of  dlt-libray and dlt-daemon is having cyclic behaviour or not? Any help/suggestions would be appreciated Thanks,Satish Yaduvanshi