[PATCH] Basic Support for Trace Compass

Ravindra Meena rmeena840 at gmail.com
Mon Jun 10 05:46:26 UTC 2019


---
 images/user/event-recording-trace.png  | Bin 0 -> 9573 bytes
 images/user/event-recording-trace.puml |  12 +++++++++
 user/tracing/eventrecording.rst        |  47 ++++++++++++++++++++++++++++++++-
 3 files changed, 58 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..eeb28b052bc42f0beb6c8cee4928c1e1161c570e
GIT binary patch
literal 9573
zcmb7qbySpJ_b*)zjdV8%G9m(!gET|uNDUz=CEYcYbcZyE5|Yvl(jlFKgdm;LFz|c)
zzVEx%d)Hm}-gW;Oo|$#n&)M}kpS|~audXVOk4KG%f`Wpts34<>f`WztJb%VP13uS0
zriy_-T&}V(S93=vFFOlMR}^^*2McFYSBp1{W?qceuC7iZe0)xJrVg%d_I6Lr9qoz1
zFKJOwPz`LfVXpuA9R(E-<C&$S(d7^fA!>76msA$pL4ERRHdWeO+s>S^4$U|dwc(A{
z{EHSudB6&0ZSRlotwKj_8QC<iRCHdSrT?bNA9+MjIi%ij*kA0T>T%?s4!J!<r_THB
zH9VdE4pw>^(O3JiIjJs&W*1G%Sit%l^kIm;3_b9d7 at W5AYoz9)2Gbw<7J;{|Ox{&d
zNO171PiTlyXslm3X{G3D$JXNyE?(9ZUG<nsO5G@`hBW!CjfI2re$+8mTpX_0 at 9z?K
z4PKS=?n|&LNxVU%*`vtmEGp55F!4 at C?w`fmABR+xy&3(JSAq3TIAowhuq%xtKZU1>
zwSFO-cd$ZXLPJB^ztMv{m~nkEEZA>8^6*Dsj*2i%j3m1jhui1<gMk;b*obYrh%|bP
zSGtmRy^_`31I-q at CZ>dmo(Ezzo&M0!rqMn&1MW=4Twd~Oc<+<1yclSI9mNu_C?loq
zxp<I`udTh+bYv4<H~aBf$-8&a=bCThe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+0qfh|nw#N%Xr0Z3GMn|C7=tbSwLA1fpu
zdxz-`QKx2rpj~J9mDdrPjswQwFS>Ju8yQ`6hw{1G3a3D!)gSLBC&whB=tRzNH-0fc
zxjdl?d1(}iY6$%z)tIV{@q}(-x`dSYyvKp%Mj_3PbJRngGD|cq^hR!oUFUD01L=Fy
zB>V65WtKsEH-8Htf;QGtgCjh~qKY-^RxLoEi@~u=L*>I6pBWE`ft4G;ny6VabXy%A
zY?H at PZpJO{uDy|99>h$f0rp21>-sFn;Th%H37EuP#}GQlm1;CE5hA7b4KkQ)R`u>|
zJAfQMIEBgf&8>B3zr2B*S)g+p#t%Mj$jC6 at dCJ@S`<NnEH0GYpG%y0Of;X3VTQx~+
zDv3n)oBRK379IcHi+j|gg>*m|LuO_U{=gE6_zx2Oqsj;Qrm0_?_cwD$6T38j64F18
zlUH#wxNc8CcF<2>kb|*++pmQ2RF;+dtw>K6WFoaZJ;9|+#5=xzx%v%HYoL<yVLwk?
zt9wKE at y=4i-Y>n~wFGiFnm7cN<1$c6Q<JvFNLwgkjv(5#Im5dGKwPz)X|+Ejz%_@=
zL<uQMr at vPg1ljz8!K*TqL|Ar8HyEa!@4<|q`Q(3}j+9kgJEVZL?m)1K)+7fGx at rh2
za59hoU!L-C5Ww|~wX`hPmtBqYkI+Tx58GnH>VII&nnHGrb8yj>E{)}-f7qizDFuXt
z7}_i6=jV0GbY(TXwav`d|LdN{tT<?Uo__rw5^=0)qnr251iYFi%C(GZ8T!t29q4f0
z+}yaUk<k5+ZjB8)OvIfwQP<QAUI}F4N<PH++T93#rqtWlCl?ot`d>=|i=+s(NxlBF
zq6U$gO8&pDKyg^bw*1- at HkoarOG&{VCcV_|_oL7R(tkk&(2JHgXqE1f1)M{_{<rHc
c;}6)8<!?o(756>@7oJcQWmRP=UYP{{544OnNdN!<

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..6705748
--- /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 : Connecting
+target --> Host : RTEMS Trace Data
+Host --> tracecompass : CTF
+Host --> babeltrace : CTF
+
+ at enduml
\ No newline at end of file
diff --git a/user/tracing/eventrecording.rst b/user/tracing/eventrecording.rst
index d799774..09dc68b 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,48 @@ 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:
+
+Trace Compass
+=============
+
+`Trace Compass <https://www.eclipse.org/tracecompass/>`_ is a tool 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 includes CPU Usage, IRQ Analysis(IRQ Statistics, 
+IRQ Table etc.), Linux Kernel(Control Flow, Resources etc.)
+
+Advanced support for Trace Compass includes dynamic memory traces, stack usage,
+network packet flow, etc.
+
+This scheme of tracing goes through the flow of events described in a subsequent
+flowchart. 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%
\ No newline at end of file
-- 
2.7.4




More information about the devel mailing list