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

[PATCH] lvgl.py: install the lvgl headers in PREFIX following a similar tree to the source tree

2019-08-30 Thread Vijay Kumar Banerjee
This is required to be able to add the PREFIX path as the include path in an lvgl based app. --- lvgl.py | 12 wscript | 1 - 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/lvgl.py b/lvgl.py index bc3eae2..6d83c63 100644 --- a/lvgl.py +++ b/lvgl.py @@ -67,9 +67,13 @@

[PATCH] Add lvgl_hello: Sample Hello world app using littleVGL and libbsd

2019-08-30 Thread Vijay Kumar Banerjee
--- README | 2 +- lvgl_hello/README | 6 ++ lvgl_hello/test.c | 180 + lvgl_hello/wscript | 25 +++ wscript| 1 + 5 files changed, 213 insertions(+), 1 deletion(-) create mode 100644 lvgl_hello/README create mode

[PATCH] record: Add wrappers for malloc() functions

2019-08-30 Thread Sebastian Huber
Introduce new library librtemsrecordwrap.a which contains wrappers for operating system functions which produce entry/exit events. The wrappers can be selected during link time via the GNU ld --wrap option. Update #3665. --- cpukit/Makefile.am | 5 +

Re: [PATCH 1/2] psxmsgq05: Added priority unblocking mq tests

2019-08-30 Thread Peter Dufault
> On Aug 30, 2019, at 03:08 , Sebastian Huber > wrote: > > [...] >> +/* forward declarations to avoid warnings */ > > Static functions don't need forward declarations to avoid warnings. ... because you should order the definitions properly. Only if two static functions need to reference

Re: littleVGL now supports FreeBSD framebuffer

2019-08-30 Thread Vijay Kumar Banerjee
On Fri, Aug 30, 2019 at 12:08 PM Christian Mauderer < christian.maude...@embedded-brains.de> wrote: > On 30/08/2019 02:39, Chris Johns wrote: > > On 30/8/19 1:19 am, Vijay Kumar Banerjee wrote: > >> I have written the scripts to build littlevgl using rtems_waf. The > build works fine > >> and

Re: [PATCH 1/2] psxmsgq05: Added priority unblocking mq tests

2019-08-30 Thread Sebastian Huber
On 29/08/2019 20:11, Lou Woods wrote: From: Lou Woods This test exercises the unblocking order of a POSIX message queue -Added psxmsgq05 test to the make structure. -Added tests, doc, and scn output. updates #3791. --- testsuites/psxtests/Makefile.am | 10 +

[PATCH] record: Allow tracing of ISR disable/enable

2019-08-30 Thread Sebastian Huber
Directly use the CPU port API in boot_card() to allow tracing of the higher level interrupt disable/enable routines, e.g. _ISR_Local_disable() and _ISR_Local_enable(). Currently, there is no configuration option to enable this. Below is a patch. It may be used to investigate some nasty low

LTTng sched_switch documentation patch

2019-08-30 Thread Ravindra Kumar Meena
Hello Chris and Sebastian, I have attached the updated LTTng sched_switch documentation patch(v5). This one is a whole single patch. Please review the attached patch. *What changed from v4 to v5:* * rtems-record-lttng tool is now available via RSB. So for the same, I have updated the patch. * I

Re: LTTng sched_switch documentation patch.

2019-08-30 Thread Ravindra Kumar Meena
Hello Chris, Thanks for the review! This is specific to QEMU and that leaves me wondering if this method of > trace > works on all targets. > Yes, the record tracing works on all RTEMS targets. > > "Step 1: Clone the repositories rtems-libbsd and rtems-tools and set up the > environment, if

Re: littleVGL now supports FreeBSD framebuffer

2019-08-30 Thread Christian Mauderer
On 30/08/2019 02:39, Chris Johns wrote: > On 30/8/19 1:19 am, Vijay Kumar Banerjee wrote: >> I have written the scripts to build littlevgl using rtems_waf. The build >> works fine >> and installs the required header and the static library in the prefix >> library path. > > This is great work.