the generation of
trace data in Common Trace Format(CTF). I will try to figure out a
convenient method for it.
Thanks
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, D
On Tue, May 14, 2019 at 11:24 AM Sebastian Huber <
sebastian.hu...@embedded-brains.de> wrote:
> On 13/05/2019 08:24, Ravindra Kumar Meena wrote:
> >
> > *The goal of this week:*
> >
> > The goal of phase 1 of my GSoC proposal is to generate the trace
> >
just directly produce
trace data in CTF using LTTng.
https://lttng.org/docs/v2.10/#doc-tracing-your-own-user-application
On Tue, May 14, 2019 at 12:45 PM Sebastian Huber <
sebastian.hu...@embedded-brains.de> wrote:
> On 14/05/2019 08:34, Ravindra Kumar Meena wrote:
> > On Tue, May
On Wed, May 15, 2019 at 5:27 PM Sebastian Huber <
sebastian.hu...@embedded-brains.de> wrote:
> On 15/05/2019 13:50, Ravindra Kumar Meena wrote:
>
> Is lttng under a suitable license (I think no) and portable to RTEMS?
>
I found this at the bottom of LTTng website. https:/
lude/rtems/confdefs.h:#include
Thanks
On Thu, May 16, 2019 at 12:14 PM Sebastian Huber <
sebastian.hu...@embedded-brains.de> wrote:
> On 15/05/2019 18:45, Ravindra Kumar Meena wrote:
> >
> > On Wed, May 15, 2019 at 5:27 PM Sebastian Huber
> > > <mailto
you
> have any questions regarding Trace Compass or CTF!
>
> [1] https://github.com/lttng/lttng-tools
> [2] https://github.com/lttng/lttng-modules
> [3] https://diamon.org/ctf/#examples
> [4] https://github.com/gchamp20/rtems/commits/ctf
>
> Guillaume
>
> Ravindra Kumar Meena
On Thu, May 16, 2019 at 2:54 PM Sebastian Huber <
sebastian.hu...@embedded-brains.de> wrote:
> On 16/05/2019 11:05, Ravindra Kumar Meena wrote:
>
> The record data format is described in
> cpukit/include/rtems/recorddata.h. If you think this documentation is
> insufficient,
on, May 20, 2019 at 11:23 AM Sebastian Huber <
sebastian.hu...@embedded-brains.de> wrote:
> On 20/05/2019 07:46, Ravindra Kumar Meena wrote:
> > On Thu, May 16, 2019 at 2:54 PM Sebastian Huber
> > > <mailto:sebastian.hu...@embedded-brains.de>> wrote:
> >
> &
On Fri, May 24, 2019 at 4:51 PM Sebastian Huber <
sebastian.hu...@embedded-brains.de> wrote:
> Hello Ravindra,
>
> - Am 22. Mai 2019 um 7:40 schrieb Sebastian Huber
> sebastian.hu...@embedded-brains.de:
>
> > On 21/05/2019 20:21, Ravindra Kumar Meena wrote:
>
>
>
>
> Please clone the repository and look at it a bit more closely.
>
Which repository? I have already cloned the rtems-libbsd.
>
> >
> > Do I have to code in python to trace the C/C++ application?
>
> No, that would be to slow.
>
Okay
>
___
devel m
On Mon, May 27, 2019 at 7:51 PM Sebastian Huber <
sebastian.hu...@embedded-brains.de> wrote:
> On 26/05/2019 13:49, Ravindra Kumar Meena wrote:
> > Hi Sebastian, Gedare
> >
> > On Fri, May 24, 2019 at 8:11 PM Gedare Bloom > <mailto:ged...@gwmail.gwu.edu>>
On Tue, May 28, 2019, 10:36 AM Sebastian Huber <
sebastian.hu...@embedded-brains.de> wrote:
> On 27/05/2019 20:24, Ravindra Kumar Meena wrote:
> >
> > On Mon, May 27, 2019 at 7:51 PM Sebastian Huber
> > > <mailto:sebastian.hu...@embedded-brains.de>>
://lttng.org/docs/v2.10/#doc-tracing-your-own-user-application
Without the help of LTTng-UST how we will be able to define tracepoints in
the program?
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.ii
current traces in the disk then I think we
convert it to CTF later.
Thanks
On Tue, May 28, 2019 at 1:49 PM Sebastian Huber <
sebastian.hu...@embedded-brains.de> wrote:
> On 28/05/2019 10:14, Ravindra Kumar Meena wrote:
> > On Tue, May 28, 2019 at 12:51 PM Sebastian Huber
> > &
should stick with the post-processing method.
We should store the traces in the disk and then convert it to CTF.
Thanks
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, D
Hi Gedare,
This is with reference to meeting we recently conducted on freenode.
You had suggested that you have working examples on CTF. Can you please
share them all here? If possible, please share anything other related to
decoder(source plugin) which would help in converting current trace data
On Wed, Jun 5, 2019 at 11:03 AM Sebastian Huber <
sebastian.hu...@embedded-brains.de> wrote:
> On 04/06/2019 19:26, Ravindra Kumar Meena wrote:
> > Hi Sebastian,
> >
> > I am in regular touch with Babeltrace community to figure out the
> > solution for conversion
; I cover installing the tools on FreeBSD and Joel has added CentOS.
>
> I cannot remember what happens with git when regenerating the images. I
> suggest
> only adding the ones you create and add them. We add the .png files to
> avoid
> everyone needing to install the tools t
rote:
> On 06/06/2019 13:09, Ravindra Kumar Meena wrote:
> > Hi Sebastian, Chris
> >
> > I created the Image online on https://www.draw.io/. Is it necessary to
> > use Ditaa and PlantUML?
>
> Yes, this makes it easier to change the image later.
>
> --
&
re the barectf examples.
Thanks
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
ent proceeds.
>
> Thank you for clarifying this.
>
> Chris
>
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad
___
de
understanding the current rtems trace format and
codebase. I will also try out the decoder(source plugin) example shared by
the babeltrace community.
Thanks
On Thu, Jun 6, 2019 at 2:42 PM Ravindra Kumar Meena
wrote:
>
>
> On Wed, Jun 5, 2019 at 11:03 AM Sebastian Huber <
&g
No newline at end of file
> >
>
> A worked out Qemu example should move to another section.
>
Are you talking about the current trace stream which is generated by QEMU
target?
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim
not from the master branch of these two repositories.
These patches are not the production side. Is it good to talk about patches
here?
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.a
ing example and made a push on forked
repository
https://github.com/rmeena840/rtems-docs/commit/68e2239548dac48f533572152a5c8033ff2122b6
Please have a look. The GitHub has a comment feature too. Please let me if
there any changes needed.
Thanks
--
*Ravindra Kumar Meena*,
B. Tech. Computer Scie
of the format?
>
Sorry. I don't know what TSDL is?
>
>
> --
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
y
> Phone : +49 89 189 47 41-16
> Fax : +49 89 189 47 41-09
> E-Mail : sebastian.hu...@embedded-brains.de
> PGP : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
--
*Ravindra Kumar Meena*,
B. Tech. Computer Sci
indra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
ot;ctf_event";
> > -stream_id = 0;
> > +id = 0; /* event id
> > +name = "ctf_event"; /* event name */
> > + stream_id = 0; /* signifies stream id which event is supposed to
> concat with events */
> > fields := struct {
The tools currently in rtems-tools.git can be run with the same command
> line
> options from a built repo with an absolute path or when installed under a
> prefix. This is something to consider when referencing configuration files.
>
> Okay, Chris. Thanks for the review.
--
*Ravind
metadata" command to open the file.
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad
___
devel mailing list
devel@rtems.org
ht
t is the SHA512 checksum of the file you can edit?
>
>
9556e2f193ed6075ac5f7642c4d83b9a60dfe80bdb2952b2a43675c49dbad00620c7c673982e79a0a03801ea83261b56e5200456ba0751222d4a28e32e34870c
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (India
metadata file residing in
"101-trace-navigation-in-tracecompass" folder.
[1]
https://github.com/tuxology/tracevizlab/blob/master/labs/TraceCompassTutorialTraces.tgz
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology
17th June work Summary:
I sent a patch containing commented code. I had a discussion about metadata
file with Sebastian. Raised a query on lttng asking about the file format
of metadata.
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology
e. The community is very active.
This is what they said:
https://lists.lttng.org/pipermail/lttng-dev/2019-June/029056.html
Please have a look
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://
-dev/2019-June/029057.html
Please have a look
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad
___
devel mailing list
devel@rtems.or
f/#spec7.4
[3] https://diamon.org/ctf/#specC
[4]
https://github.com/efficios/barectf/blob/a3ebf5855c025a86ebc2d62cbda1338461e84c5a/barectf/tsdl182gen.py
[5]
https://github.com/lttng/lttng-tools/blob/c8e0c5f5d94fb574f4e5d7518f0f8e6f984dfe3d/src/bin/lttng-sessiond/ust-metadata.c
--
*Ravindra Kumar
> Creating the metadata is one of the first actions a plugin must do
>
Okay.
I sent you one metadata file which had 1160 events. So should I add the
rtems 512 events in metadata?
The problem I am facing here is how to relate the metadata file with rtems
event record item?
--
*Ravind
Hi
I found the metadata packet image online. However, packet information is
also given on https://diamon.org/ctf/ but I find it more clear.
I have attached the file. Please have a look at it.
>
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute
a TSDL metadata. Save this metadata file.
>
I have tried babeltrace example [1]. The babeltrace was using generated
metadata file.
We can also try barectf. It just needs yaml file which generated c code.
>
> Import the metadata and event stream in babeltrace and let it print a
> huma
generate the
metadata file. Discussed about metadata file.
[1] https://rmeena840.github.io/
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, D
here? Is it not sufficient to generate
> the metadata in plain text format and save the event stream as binary data?
>
I was just trying barectf yesterday. I was able to generate metadata file
with it. YAML file is very easy to write. I used "barectf config.yaml -m
ctf" command.
>
Hi,
I asked the babeltrace community about the difference between binary
packetized and the simple text metadata file. They say both will work the
way.
Here is the response:
https://lists.lttng.org/pipermail/lttng-dev/2019-June/029059.html
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science
4_t data;
} ctf_event;
This is just one event. We have to append this item one by one in a file.
This file will be called event stream file.
If everything goes well then the next step would be just importing the
metadata and event stream in babeltrace and print its human-reada
*19th June work summary:*
Forwarded the response received from babeltrace community. Tried to improve
the metadata and sent the patch for the same for review. Attended the
meeting on Freenode.
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology
ams.
Here is the response:
https://lists.lttng.org/pipermail/lttng-dev/2019-June/029062.html
They have explained it with example
Have a look
Thanks
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www
as of now. We just need the event stream.
I used "babeltrace ctf/" command to read the metadata. Here metadata file
is residing in ctf/ folder.
Thanks
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Min
ols build is failing because I think some part of
the codebase is dependent on
union {
SLIST_ENTRY( client_item ) free_node;
RB_ENTRY( client_item )active_node;
};
How should I deal with it?
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute o
>
>
> >> This is very good news. Writing the event stream is the easy part. Just
> >> fwrite() the events in the modified print_item(). Your TSDL in the
> metadata
> >> file must describe this event stream.
> >>
> > Yes. That's what I am trying today. You suggested that I have to convert
> > client
*20 June work summary:*
Forwarded the response received from babeltrace community. Tried to parse
metadata through. It was working fine. Wrote code for storing the event
stream in a file and sent the patch for the same.
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering
>
> To which object points the the ctf_item pointer here?
>
Are you expecting pointer here?
>
> > + ctf_item->event=item->event;
> > + ctf_item->data=item->data;
> > + ctf_item->ns=ns;
> > +
> > + fprintf(fptr,ctf_item);
> > + fclose
lient_context;
In this case, I have to create global client_context variable to store the
file pointer in it. Is that good?
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
;
^
../misc/record/record-main.c:147:12: note: ‘ns’ was declared here
uint32_t ns;
The ns value is uninitialized because it is not able to receive the value
from if block. Should I make
uint32_t seconds;
uint32_t nanoseconds;
above the block?
Thanks
--
*Ravindra Kumar Meena*,
B. Tech
ent stream generated.
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
tem.event = item->event;
> ctf_item.data = item->data;
>
>fwrite( &ctf_item, sizeof( ctf_item ), 1, f );
> }
>
Okay
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iiti
struct ctf_item.
>
Yes. It needs research. I am not sure how I can make event stream generated
compatible with metadata. I have raised a query for the same on lttng.
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of M
27;t describe the event
> > stream. The metadata should describe the struct ctf_item.
>
> In your current version you have also calls to fprintf() mixed into the
> fwrite() in print_item().
>
Should I comment the fprintf() and leave it there or
research.
>
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman
Hi,
Thanks for sharing the example.
I managed to store the RTEMs event stream in a file. I have also written
the metada for the same but babeltrace is not able to read CTF because
metadata is not compatible with it.
Do you have any example or approach to make metadata compatible with events?
Th
*Plan of the week:*
Last I was able to store the event stream in the disk. Now, I plan to
convert the native stream into CTF format. Once the conversion is done then
I will make the metadata for the converted CTF format.
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering
On Mon, Jun 24, 2019 at 12:06 PM Sebastian Huber <
sebastian.hu...@embedded-brains.de> wrote:
> On 24/06/2019 08:24, Ravindra Kumar Meena wrote:
> > *Plan of the week:*
> > Last I was able to store the event stream in the disk. Now, I plan to
> > convert the native s
I am using Ghex software to read and modify the binary file in hexadecimal.
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad
___
he example on [1] have this thing in common. I modified the stream
file and added magic number(0xc11fcc1) in it. Then, I parsed both stream
file and metadata. Babeltrace was able to read the stream file.
[1] https://diamon.org/ctf/
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
*24th June work summary:*
Studied the CTF documentation and tried its example. Tried to modify the
HEX values of the stream file generated by the QEMU target. Improved the
metadata file.
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian
>
>
> Do you get compiler warnings with this version?
>
No I didn't get any compiler warning or error.
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iit
l be able to see that babeltrace is able to read the events.
I have cross-checked the the values it is printing. All values(ns,cpu,data)
are correct accept the value of events(rtems_record_event).
I am currently figuring out why rtems_record_event is giving wrong value.
Thanks
--
*Ravindra Kum
th
metadata and stream file.
The babeltrace was able to read the events.
Thanks
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad
___
dev
/rmeena840/rtems-docs/tree/ravindra-rtems
Thanks
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad
___
devel mailing list
devel@rtems.or
warnings after reconfiguring again. This can be
resolved if we remove the if block. I think there is no need for it now.
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanba
I have cross-checked the the values it is printing. All
> > values(ns,cpu,data) are correct accept the value of
> > events(rtems_record_event).
> >
> > I am currently figuring out why rtems_record_event is giving wrong value.
>
>
solved if we remove the if block. I think there is no need for it now.
>
> No, sorry, please fix these warnings immediately. Warnings about
> uninitialized variables are very likely a hard error.
>
Okay. I have resolved the issue.
https://github.com/rmeena840/rtems-tools/commit/23aeaa0251
;event;" then
it will work fine. I intentionally tried to pass 897648164864 directly to
"ctf_item.data=item->event;" and it was working fine because its byte order
is changed and its new value will be 215.
I tried a few approaches but didn't work for me. Any idea how to de
estamp_t ns;
> > + uint32_t cpu;
> > +rtems_record_event events;
> Is the rtems_record_event in a stream 64-bits?
>
Yes.
I am really stuck here. I am trying every possible way but only one
variable is printing t
25th June work summary:
I sent the two patches today. One is for trace stream file generation and
another one is metadata file for the same. Babeltrace is printing only one
value wrong rest all values are correct. I think there is byte order issue
with it.
--
*Ravindra Kumar Meena*,
B. Tech
for me :). I was really struggling with it.
Thanks
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
0, events = (
"RTEMS_RECORD_THREAD_SWITCH_IN" : container = 215 ), data = 167837711 }
I am happy to say this completes phase 1 of my GSoC project. :) :)
Thanks
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.
-endian value so that babeltrace can read it
in little-endian.
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad
___
devel mailin
rom this point, there will be four values (ns, cpu, events,
data).
Once the babeltrace has read the last value(data). It will again see event
id equal 0 stating that new event has begun and again it will read four
values.
It will become more clear if you see the generated trace in HEX format. I
u
hen it looks for the
traces matching its description in the same directory.
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad
_
| head
for like 5 seconds.
Have a look
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad
___
devel mailing list
devel@rtems.or
dify the record-client program to read from a file if a
> --input= command line option is given
>
Okay. Are you suggesting to add --input= flag to the following
command?
./build/misc/rtems-record -H 169.254.159.156 -p 1234 | head
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science
/f68b5031f4e6f847239effe677701635316b12fb
Attended the weekly meeting on Freenode.
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, D
On Thu, Jun 27, 2019 at 10:53 AM Sebastian Huber <
sebastian.hu...@embedded-brains.de> wrote:
> On 26/06/2019 17:58, Ravindra Kumar Meena wrote:
> > 26th June Work Summary:
> >
> > Updated the file generation code in rtems-tools with required changes.
> > Impr
ile count=131072
>
Okay. It worked. I have placed it in mis/record directory.
It is a binary file. So I directly made a push to my GitHub rtems-tools
repository workplace.
https://github.com/rmeena840/rtems-tools/commit/70d527dcf8ae8a5026dd1af79e4d27c5adcbdade
Have a look.
--
*Ravindr
t event;
uint64_t data;
uint64_t counter;
} client_item;
I am getting wrong value here? I tested with stream data. I am getting the
right values from the binary file.
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Techno
ecord;
while(fread(&record, sizeof(record), 1, input_file))
printf ("CPU=%d\n",record.cpu);
Here input_file is a file provided through the command.
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of T
record_client_run( &ctx, buf, (size_t) n );
> } else {
>break;
> }
>}
>
> First you should refactor the code and move the TCP relates stuff into
> separate functions.
The command line should like this right?
./build/misc/rtems-record --input= | he
he raw data
created today. The babeltrace is able to print all values.
I used "./build/misc/rtems-record --input raw_data | head" command
generating ctf events from raw data
Thanks
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology
27th June Work Summary:
Stored compressed version of raw data of size 98 KB generated from QEMU
target in misc/record directory. Modified RTEMs client program for
--input= flag. It's working fine.
___
devel mailing list
devel@rtems.org
http://lists.rtems
ub handle is rmeena840.
>
> lttng seems to create one event stream file per processor. This is your
> next task.
>
> 1. Open a event stream file for each processor.
>
The stream file which has ctf event element?
>
> 2. Write the events of a processor (CPU) to the correspo
*Plan of the week:*
I will continue to work on the new tasks assigned.
https://lists.rtems.org/pipermail/devel/2019-June/026410.html
I will update my GSoC blog [1].
[1] https://rmeena840.github.io/
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of
Have made changes for task writing the events of a processor (CPU) to the
corresponding file.
https://github.com/rmeena840/rtems-tools/commit/111ee2f3f92a0371241d31542d28687431d18097
Have a look
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of
*1st July work summary:*
Updated the GSoC blog. Worked on the assigned task.
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad
___
binary file but with the new
file(qoriq_e6500_32), it is generating multiple files.
>
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>
and for the input file, we
should have as many files as there stored in
variable RTEMS_RECORD_CLIENT_MAXIMUM_CPU_COUNT right?
>
> For each CPU you have exactly one output file.
>
> Please don't use sprintf(). Use snprintf() instead. Check the return
> value of all functions at least
or read from a file. Why do you think we have many input files? I
> really would like to know this.
>
I mean that for TCP input we should have one output binary file generated
and for file input, we should have multiple binary files generated as
output.
--
*Ravindra Kumar Meena*,
B. Tech. Co
the medium which delivers your input?
>
Okay. Have made some changes:
https://github.com/rmeena840/rtems-tools/commit/6fb677ce9da9055c904cb89b5b3612557ed995fd
Have a look.
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of
ECORD_CLIENT_MAXIMUM_CPU_COUNT.
for( i = 0; i < RTEMS_RECORD_CLIENT_MAXIMUM_CPU_COUNT ; i++ ){
fd[ i ] = ( input_file_flag ) ? open( input_file, O_RDONLY ) :
socket( PF_INET, SOCK_STREAM, 0 );
assert( fd[i] >= 0 );
}
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science
t; miracle to me, why you try to use multiple input files. It makes not
> sense at all from my point of view.
>
Okay. I have used only one file descriptor.
https://github.com/rmeena840/rtems-tools/commit/a67decf3882db81970d88d3507763bf12627cbb6
Have a look.
--
*Ravindra Kumar Meena*,
B. Tech
2nd July work summary:
Completed assigned task to open an event stream file for each processor.
Tried to modify metadata for the new event stream file(not complete).
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines
1 - 100 of 214 matches
Mail list logo