by Joey Lee

Joey Lee is a Linux engineer from SUSE Labs. His working areas are ACPI driver, Hibernate, UEFI.

No video of the event yet, sorry!

There have some tracing mechanisms that can be used to tracing the kernel behavior. They are useful to identify problem for debugging. I want to deliver a workshop about kernel tracing by using trace event (ftrace subsystem) and systemtap on openSUSE. There have some topics:

Session I:
- Introduce the trace event in ftrace tracing subsystem.
- How to set a trace event in kernel module, a simple exercise.
- How to enable trace event and grab the event log from ring buffer.

Session II:
- Introduce the kprobe mechanism
- How to set kprobe-event in kernel, a simple exercise.
- How to use systemtap, follow the systemtap tutorial to exercise.

The time for each session is 50 minute with 10 minute resting. After this workshop, I hope attendees who can know what is the trace event and kprobe. Know how to enable trace event. Know how to use systemtap script to monitor kernel behavior.

To workshop attendees:
Please preparing your personal environment for training:
- openSUSE 42.2 or 42.3 on VM or physical machine
- Using openSUSE is more easy to access the repo.
- zypper install kernel-default-devel, kernel-default-debuginfo
- The version should matches with kernel-default
- zypper install systemtap, perf

Slides and materials (to be updated):
Take materials by git with https:
git clone https://github.com/joeyli/openSUSE_ASIA.git

2017 October 22 13:15
2 h
Workshop Space
openSUSE.Asia Summit 2017