On 25/06/2019 07:11, Ravindra Kumar Meena wrote:
Hi Sebastian,

I have sent the two patches. One is event stream file generation patch and another one is metadata for it. Please apply the patches.

Could you please check it in your rtems-tools repository.


Run the following command for like 5 seconds so that it can generate enough event traces.
./build/misc/rtems-record -H 169.254.192.22 -p 1234 | head

Please change the record client to use a file in the repository. So that we can test with the same data and without the need to run Qemu.


you will get file named event in folder "rtems-tools". The metadata file is in "misc/ctf/metadata". Please move the event stream file in it.

Now, run "babeltrace ctf/" command. Here "ctf" is folder name containing event stream file and metadata.

Now you will 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.

Ok, good. Nice progress.

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
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.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to