[PATCH] Basic Support for Trace Compass
Ravindra Meena
rmeena840 at gmail.com
Thu Jun 6 16:45:33 UTC 2019
---
images/user/event-recording-trace.png | Bin 0 -> 7784 bytes
images/user/event-recording-trace.puml | 12 ++++++++++
user/tracing/eventrecording.rst | 39 ++++++++++++++++++++++++++++++++-
3 files changed, 50 insertions(+), 1 deletion(-)
create mode 100644 images/user/event-recording-trace.png
create mode 100644 images/user/event-recording-trace.puml
diff --git a/images/user/event-recording-trace.png b/images/user/event-recording-trace.png
new file mode 100644
index 0000000000000000000000000000000000000000..38dbece0247afad18419c8999289e6aad613e578
GIT binary patch
literal 7784
zcmZvB1yodR*ES^}NJ~odNJ%3th{%9~bmvHSBOTJ+NJ)1i(lHDmjes<QbT<q&;4pj#
zp7&k<zt;E7tTl7yoHKi$d+&W+*S_yNLRnE34~Gf|1qB7~{X1z at 6cp5H;J5 at E4fq_8
zQCR}M*jz!{t|ktSp0;M at t|+o*_GZpTu4bn6#-8++uC9)v+}w_~M)t0s>}<JA9PEgA
zM5qBP3RddcuKzucf(n at N$kd2`qtq=)7;^megpN6L<(Hg_v^NiiG at ccc?$EUD at SLr!
z`{2>j&E>ko{FH^C-pixyztb72%c_THC(}q$K at lhUPd@!chVG;7?%7e6tn5iRqEDry
z7H)}jOKEu9M+Z?ockg~Ax=oo<wcz|4ykMe$a?&1lhKbFvQ|q!gP(|0>Eblg>z29nb
ztK`=AWV0HQRwd8H7Q-Z*D=76I8*$3od?h>iBmyf)-S7PcXI}aXTXSMk{NF2{Gyy6N
zjp**(@nkv*mlyF>@PHrQoX at y|i=Wx9G5j+OCQ5<P*C&$78CTdH(0da+_XctLc(0E<
zdJ{Mw8fbSAYHuL<mk2pU=NrvpNcLfFpH_f{0ry>O=r<e&;_pbKIQZax;z6VSVI_ at J
zt0(M8+Z5Wd6*3Z<$eBD+7&jw7_n6474CU1}G6e;NI`6&o8+DKQ!z^5N_1TvG5|tpq
zQ^T(m+_N5>0=grr74Iu?@u>1OixLw{oys=Zhs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hRE)(YfrkrsvZyN#{Oc%wCph}
z=$02suR6SvK^j7{Ls$(X(;o_a5UzF8s`DSv2Fh7#I9?nB6K{Txj5IiNY*zy7pJOO=
zw4NzWUm at dMjdvgruZ%(Nz2~!;r%VFV)BUTYbuNC_n|JM}G8nO4R=rG+iCaRwBj~3L
z*<=sl$Eobu$ldzqt_8k6i9ncHFk at w6ZffBJ^(yt|6|raBOI|jV)=US{OmC&K$A0>Z
z9bEGxsFB8PYAbFV-0UJ9FWRkiZ7VmiXDO*)Vg4PT%@(lv?m9d$?^n}y7s`QRTA_JM
z%;5N6_VHb;R4vuaZ?{68%F at w*>da at gjExPGFv&QW&qr52>aD#QQ^KDMJBt%%X|cgU
zp&7ZLt1JdZbrYW9He+DMM#sc_-`@{^E4F0EFTcZ)+m+l$*ZxApicV7=mKw|KKWs*8
zBl{tYf;QZhLEnd&%>uaaB?)1`cfY&C_P>M<P&Z9^(G1{^>Drv>JO8TN|EYXdZV$>A
z@$an<BHby0?CY=T5=!^s>uUM`^gMY?zQOwa__%986~fNmUg9r--S6*afL at O$b6byP
zi-!@=jSdX3a&Ww)cp|6%&;}&B2gvkQ<~C?n^a>@h=8*is+3xNoB_+MMxL9W8cxV)M
zcF;tSDapwzVx4a6n=XNRtNP6pG>iq~rLGO8I{5{=fw5fi>)f%J--!6PRV7%ONk>DX
z#_5~t>sbx{Z7OmLa5vz%>g%|eL3t at Kk*+F7F8ye<@tK+8|7YQs&s&wJpqBgHB9;4{
jriYy~kc!;?9m;Q+1QTo8$~s`r7v()jQMy{{W8nV)j%Kwe
literal 0
HcmV?d00001
diff --git a/images/user/event-recording-trace.puml b/images/user/event-recording-trace.puml
new file mode 100644
index 0000000..f41f344
--- /dev/null
+++ b/images/user/event-recording-trace.puml
@@ -0,0 +1,12 @@
+ at startuml
+
+rectangle Host
+rectangle "Target/QEMU Target" as target
+rectangle "Trace Compass" as tracecompass
+rectangle "Babeltrace" as babeltrace
+Host --> target : 1
+target --> Host : 2
+Host --> tracecompass : 3
+Host --> babeltrace : 3
+
+ at enduml
diff --git a/user/tracing/eventrecording.rst b/user/tracing/eventrecording.rst
index d799774..25d6706 100644
--- a/user/tracing/eventrecording.rst
+++ b/user/tracing/eventrecording.rst
@@ -6,7 +6,7 @@
.. _EventRecording:
Event Recording
-===============
+***************
The `event recording` support focuses on the recording of high frequency
events such as
@@ -56,3 +56,40 @@ started by :c:func:`rtems_record_start_server` via a TCP connection.
On the host computer you may use the command line tool :file:`rtems-record` to
get recorded events from the record server running on the target system.
+
+.. _tracecompass:
+
+Basic Support for Trace Compass
+===============================
+
+`Trace Compass <https://www.eclipse.org/tracecompass/>`_ is a software developed by
+Eclipse to analyse and display trace data graphically. Trace data can be gathered from
+RTEMS applications via various means, for example:
+
+- :ref:`RTEMS Trace Linker <TraceLinker>`
+- :ref:`RTEMS Capture Engine <CaptureEngine>`
+- :ref:`RTEMS Event Recording <EventRecording>`
+
+Event Recording infrastructure is used to analyse and display some basic information.
+The basic information is defined by the Linux kernel trace support (lttng) and may
+include CPU Usage, IRQ Analysis(IRQ Statistics, IRQ Table etc.), Linux Kernel(Control Flow,
+Resources etc.)
+
+Advanced support for Trace Compass could include dynamic memory traces, stack usage, network packet flow, etc.
+
+This scheme of tracing goes through the flow of events described in a subsequent flowchart. Please ser
+this requires the environment setup of `rtems-libbsd <https://github.com/RTEMS/rtems-libbsd>`_ and `rtems-tools <https://github.com/RTEMS/rtems-tools>`_:
+
+Step 1: The Qemu simulator is used to run a LibBSD based application and connect it to a virtual network on host.
+This requires to create a TAP virtual Ethernet interface for this. The Qemu command line is used for board support package, e.g the arm/xilinx_zynq_a9_qemu BSP etc.
+The host can be connected to target via telnet.
+
+Step 2: On the host computer the command line tool rtems-record can be used to get recorded events from the record server running on the target system.
+Recorded events can be sent to a host computer with a very simple record server started by rtems_record_start_server() via a TCP connection.
+
+Step 3: The trace data received at host from QEMU target is converted into CTF. Since, Babeltrace and Trace Compass are two
+compatible software which can read and write CTF. The converted CTF ca be passed to any of these softwares.
+
+.. figure:: ../../images/user/event-recording-trace.png
+ :align: center
+ :width: 75%
--
2.7.4
More information about the devel
mailing list