Re: GSoC Project | Basic Support for Trace Compass

2019-06-28 Thread Sebastian Huber
On 27/06/2019 19:18, Ravindra Kumar Meena wrote: > Okay. Raw file contents have this structure. It means raw file will only > contain event and data in binary format. How should I get it's > corresponding ns and cpu values. 1. Instead of the socket() and connect() you open

Re: [PATCH] score: Add and use _Thread_Get_unmapped_priority().

2019-06-28 Thread Chris Johns
On 28/6/19 4:32 pm, Sebastian Huber wrote: > Add and use _Thread_Get_unmapped_real_priority(). +1 Thanks. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: Attempt to get rid of -qrtems

2019-06-28 Thread Sebastian Huber
On 28/06/2019 01:37, Chris Johns wrote: On 27/6/19 10:08 pm, Sebastian Huber wrote: I would like to get rid of the -qrtems command for normal RTEMS applications. I do not think you can remove -qrtems as it will break all existing configure scripts. The default needs to be stubs. Ok, this was

Re: GSoC Project | Basic Support for Trace Compass

2019-06-28 Thread Ravindra Kumar Meena
> > As I said a couple of time before. Please fix the compiler warnings: > > ../misc/record/record-main.c:57:23: warning: character constant too long > for its type > { "input", 1, NULL, 'input' }, > ^~~ > ../misc/record/record-main.c: In function ‘main’: > ../misc/r

[PATCH] Record-client program to read from a file for --input= flag

2019-06-28 Thread Ravindra Meena
--- misc/record/record-main.c | 35 --- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/misc/record/record-main.c b/misc/record/record-main.c index b4591e3..14023e2 100644 --- a/misc/record/record-main.c +++ b/misc/record/record-main.c @@ -39,6 +39,8

Re: GSoC Project | Basic Support for Trace Compass

2019-06-28 Thread Sebastian Huber
On 28/06/2019 12:12, Ravindra Kumar Meena wrote: [...] Could you please give me permission to push to your repository. I would like to add a record item stream from a QorIQ T4240. Did you get the invite? My GitHub handle is rmeena840. Thanks, this worked. I pushed two commits.

Re: Coverity Scan Configuration?

2019-06-28 Thread Sebastian Huber
On 27/06/2019 23:31, Gedare Bloom wrote: I have an interest and plan to work on this area soon. I made myself a note to look into the options, and whether any of the rules can be used out of the box for open source in https://devel.rtems.org/ticket/3710 Ok, so currently nobody knows which rule

Error: undefined reference to ndbm functions

2019-06-28 Thread Vaibhav Gupta
Hello, . Status: 1. I have ported ndbm in newlib. When compiled newlib-cygwin, function symbols were generated. Created patch. 2. Applied the patch to RSB and rebuild toolchain. Generated ndbm.h in 5/sparc-rtems5/include directory. Blocker: 1. I made a raw program which calls dbm_

Re: Error: undefined reference to ndbm functions

2019-06-28 Thread Joel Sherrill
You need to add the library to the gcc command that links the program. If the libndbm is in the library search path, add -lndbm. I don't recall the exact Makefile variable to set for this to show up. Look at the paranoia sample. It should be doing this with -lm. --joel On Fri, Jun 28, 2019, 8:12

Re: Error: undefined reference to ndbm functions

2019-06-28 Thread Vaibhav Gupta
On Fri, Jun 28, 2019, 5:57 PM Joel Sherrill wrote: > You need to add the library to the gcc command that links the program. If > the libndbm is in the library search path, add -lndbm. > > I don't recall the exact Makefile variable to set for this to show up. > Look at the paranoia sample. It shou

Re: Error: undefined reference to ndbm functions

2019-06-28 Thread Joel Sherrill
On Fri, Jun 28, 2019, 8:40 AM Vaibhav Gupta wrote: > > > On Fri, Jun 28, 2019, 5:57 PM Joel Sherrill wrote: > >> You need to add the library to the gcc command that links the program. If >> the libndbm is in the library search path, add -lndbm. >> >> I don't recall the exact Makefile variable to

Re: Error: undefined reference to ndbm functions

2019-06-28 Thread Vaibhav Gupta
On Fri, Jun 28, 2019, 6:19 PM Joel Sherrill wrote: > > > On Fri, Jun 28, 2019, 8:40 AM Vaibhav Gupta > wrote: > >> >> >> On Fri, Jun 28, 2019, 5:57 PM Joel Sherrill wrote: >> >>> You need to add the library to the gcc command that links the program. >>> If the libndbm is in the library search p

Re: [PATCH] Record-client program to read from a file for --input= flag

2019-06-28 Thread Gedare Bloom
On Fri, Jun 28, 2019 at 5:02 AM Ravindra Meena wrote: > > --- > misc/record/record-main.c | 35 --- > 1 file changed, 24 insertions(+), 11 deletions(-) > > diff --git a/misc/record/record-main.c b/misc/record/record-main.c > index b4591e3..14023e2 100644 > --- a/mi

Re: [PATCH] Record-client program to read from a file for --input= flag

2019-06-28 Thread Gedare Bloom
On Fri, Jun 28, 2019 at 10:15 AM Gedare Bloom wrote: > > On Fri, Jun 28, 2019 at 5:02 AM Ravindra Meena wrote: > > > > --- > > misc/record/record-main.c | 35 --- > > 1 file changed, 24 insertions(+), 11 deletions(-) > > > > diff --git a/misc/record/record-main.c

Re: Error: undefined reference to ndbm functions

2019-06-28 Thread Gedare Bloom
On Fri, Jun 28, 2019 at 7:20 AM Vaibhav Gupta wrote: > > > > On Fri, Jun 28, 2019, 6:19 PM Joel Sherrill wrote: >> >> >> >> On Fri, Jun 28, 2019, 8:40 AM Vaibhav Gupta wrote: >>> >>> >>> >>> On Fri, Jun 28, 2019, 5:57 PM Joel Sherrill wrote: You need to add the library to the gcc comm

Re: [PATCH] Record-client program to read from a file for --input= flag

2019-06-28 Thread Sebastian Huber
- Am 28. Jun 2019 um 18:20 schrieb Gedare Bloom ged...@rtems.org: > On Fri, Jun 28, 2019 at 10:15 AM Gedare Bloom wrote: >> >> On Fri, Jun 28, 2019 at 5:02 AM Ravindra Meena wrote: >> > >> > --- >> > misc/record/record-main.c | 35 --- >> > 1 file changed,