>Run on what? RTEMS? yes. >Are there any RTEMS repos with your work? I havent pushed my code since it is throwing errors. Should I push it nonetheless for you to see? Or create another repo?
>RTEMS does not support `system()`. Does RTEMS support fdopen or popen? I am trying to execute the babeltrace command on the shell, from within the c program. I could use babeltrace C API instead but Gedare suggested during a meeting that it might not be integrable with RTEMS. >Could please explain how you are integrating `program.c`? I have created a new shell utility function in the *rtems/cpukit/libmisc/shell/main_rtrace.c*. It saves the raw trace buffer to a file and then uses the logic of `program.c` to convert it into CTF traces. On Thu, Jun 28, 2018 at 10:07 AM, Chris Johns <chr...@rtems.org> wrote: > On 28/06/2018 13:48, Vidushi Vashishth wrote: > > > > Sorry for the delay. I had been trying to make the code run. > > Run on what? RTEMS? > > > https://github.com/VidushiVashishth/babeltrace/tree/master/Demo > > Are there any RTEMS repos with your work? > > > This is a demonstration of the how to use babeltrace to convert rtems > traces. I > > have integrated the program.c code in the rtems main_rtrace.c file. This > is > > throwing some errors that I am working on. > > RTEMS does not support `system()`. > > Could please explain how you are integrating `program.c`? > > Thanks > Chris >
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel