Skip to contentSkip to conversation

Mixing kernel and userspace traces in a single events editor view

DISCUSSION Genevieve Bastien 1 participant 1 message Aug 3, 2018 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi John,

In Trace Compass, you can import/open your traces as an "experiment". See the documentation here for more information on experiments:
http://archive.eclipse.org/tracecompass/doc/stable/org.eclipse.tracecompass.doc.user/Trace-Compass-Main-Features.html#Creating_an_Experiment

Regards,

Geneviève

Quoted 54 lines · John O'Sullivan

Hi,

I using trace compass on an embedded target, I have a sample application with some user space events and I am also collecting some kernel events.

Is there some way in trace compass of looking at these in a single Events Editor view so that both kernel and Userspace events are interleaved with respect to time?

The script I am using on my target is;

 #!/bin/sh
HOST_IP="10.xxx.xxx.xxx"
#Create a session sending the data over the network to a listening host lttng create --set-url=net://$HOST_IP
#Create one or more events
lttng enable-event -u -a -c chan1
lttng enable-event --kernel sched_switch,sched_process_fork #create an event for the logger
lttng enable-event --kernel lttng_logger
lttng start
echo "Loading sample aplication" > /proc/lttng-logger /usr/bin/sample_application
echo "unLoading sample aplication" > /proc/lttng-logger lttng destroy

The resulting traces when opened only allows me to view kernel and UST on separate tabs

regards

John

------------------------------------------------------------------------

This email and any files transmitted with it are confidential and are intended for the sole use of the individual to whom they are addressed. Black Box Corporation reserves the right to scan all e-mail traffic for restricted content and to monitor all e-mail in general. If you are not the intended recipient or you have received this email in error, any use, dissemination or forwarding of this email is strictly prohibited. If you have received this email in error, please notify the sender by replying to this email.

Quoted 4 lines

_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev