Open Source Automation Development Lab
You are here: Home / Downloads / 
2010-07-29 - 13:20

Next OSADL Events:

Breaking News:

2010-05-17 12:00

The Linux task viewer is here

Kernel developers are walking in user space and beyond


2010-03-10 12:00

Parallel real-time on multi-core systems with mainline Linux

Several tasks simultaneously running at real-time priority no longer interfere to each other!


2010-02-22 12:00

"Latest Stable" Linux mainline real-time 2.6.31 is out!

Kernel 2.6.31.12-rt21 is our latest and greatest


2010-02-21 12:00

OSADL at the Embedded World 2010

Industry needs Open Source - Open Source meets Industry



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