Re: Convert rtems-record-lttng program to C++

2019-09-01 Thread Chris Johns
On 2/9/19 3:09 pm, Sebastian Huber wrote: > On 01/09/2019 04:46, Chris Johns wrote: >> On 31/8/19 5:29 am, Sebastian Huber wrote: >>> attached are two patches which convert the rtems-record-lttng client program >>> from C to C++. >> >> Is this a step to a full C++ app? > > Yes, it is a step. Grea

Re: Convert rtems-record-lttng program to C++

2019-09-01 Thread Sebastian Huber
On 01/09/2019 04:46, Chris Johns wrote: On 31/8/19 5:29 am, Sebastian Huber wrote: attached are two patches which convert the rtems-record-lttng client program from C to C++. Is this a step to a full C++ app? Yes, it is a step. The following are some observations about the C++ piece of c

Re: Convert rtems-record-lttng program to C++

2019-08-31 Thread Chris Johns
On 31/8/19 5:29 am, Sebastian Huber wrote: > attached are two patches which convert the rtems-record-lttng client program > from C to C++. Is this a step to a full C++ app? The following are some observations about the C++ piece of code... Why in this code .. + +#include +#include + +#includ

Convert rtems-record-lttng program to C++

2019-08-30 Thread Sebastian Huber
Hello, attached are two patches which convert the rtems-record-lttng client program from C to C++. I used clang-format -style=Chromium -i trace/record/record-main-lttng.cc to format the source. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone