RTEMS Tools | Improve event record handling (!36)

Sebastian Huber (@sebhub) gitlab at rtems.org
Wed Nov 13 01:31:50 UTC 2024




Sebastian Huber commented on a discussion on trace/record/record-main-lttng.cc: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/36#note_114834

 >      }
 >  
 > +    std::unique_ptr<Filter> base64_filter;
 >      if (is_base64_encoded) {
 > -      client.AddFilter(new Base64Filter());
 > +      base64_filter.reset(new Base64Filter());
 > +      client.AddFilter(base64_filter.get());
 >      }
 >  
 > -    if (is_zlib_compressed) {
 >  #ifdef HAVE_ZLIB_H
 > -      client.AddFilter(new ZlibFilter());
 > -#endif
 > +    std::unique_ptr<Filter> zlib_filter;
 > +    if (is_zlib_compressed) {
 > +      zlib_filter.reset(new ZlibFilter());

For me this is good enough, I have to move to other topics on my TODO list.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/36#note_114834
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241113/0f845864/attachment-0001.htm>


More information about the bugs mailing list