Dates and Events: |
OSADL Articles:
2023-11-12 12:00
Open Source License Obligations Checklists even better nowImport the checklists to other tools, create context diffs and merged lists
2022-07-11 12:00
Call for participation in phase #4 of Open Source OPC UA open62541 support projectLetter of Intent fulfills wish list from recent survey
2022-01-13 12:00
Phase #3 of OSADL project on OPC UA PubSub over TSN successfully completedAnother important milestone on the way to interoperable Open Source real-time Ethernet has been reached
2021-02-09 12:00
Open Source OPC UA PubSub over TSN project phase #3 launchedLetter of Intent with call for participation is now available |
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
Utility sched_switch by Herman ten Brugge | 4.1 K |