Open Source Automation Development Lab
You are here: Home / Downloads / 
2012-02-04 - 14:35

Next OSADL Events:

Embedded World 2012
28.02. - 01.03.

Breaking News:

2011-06-13 12:00

Last call for RTLWS13 abstracts

Even real-time people are late sometimes ...


2011-06-12 12:00

Not yet registered at the Summer School in Linz, Austria?

Do not miss talks by international experts on formal code analysis, Linux real-time and safety.


2011-05-19 12:00

Linux real-time news from San Francisco

Thomas Gleixner at the Embedded Linux Conference 2011



OSADL Downloads

Download Task Visualizer

Quick HOWTO

Download the file archive sched_switch-0.1.tgz and type:

# tar -zxvf sched_switch-0.1.tgz
# cd sched_switch-0.1
# make

Create task switch data, convert them to VCD (value change dump) data and display them using, for example, gtkwave:

# echo sched_switch >/sys/kernel/debug/tracing/current_tracer
# echo 1 >/sys/kernel/debug/tracing/tracing_enabled
# sleep 5
# echo 0 >/sys/kernel/debug/tracing/tracing_enabled
# cat /sys/kernel/debug/tracing/trace >/tmp/trace.txt
# ./sched_switch /tmp/trace.txt /tmp/trace.vcd
# gtkwave /tmp/trace.vcd

To display a particular data channel within gtkwave, select sched_switch in the top left window and drag and drop the label of the requested channel from the bottom left window labeled "Signals" to the drop area at the left side of the main wave display area (also labeled "Signals"). Alternatively, you may select the requested channels in the bottom left window labeled "Signals" and then click on the "Insert" button below the window.

File archive

sched_switch-0.1.tgz

Utility sched_switch by Herman ten Brugge

4.1 K