Linux debugging, profiling, tracing and performance analysis training

Learn how to debug, trace, profile and analyze the performance of Linux systems and applications

Course details

  • Duration: 3 days / 24 hours (on-site) – 4 half days / 16 hours (on-line)
  • Agenda: on-siteon-line
  • Training materials: will be published after the first session has occured
  • Written language: English
  • Available oral languages: English and French.

Public on-line sessions

Type Dates Time Duration Language Expected
trainer
Cost and registration
Linux debugging, profiling, tracing and performance analysis (agenda) January 30, 31, February 1, 2, 2023
+ extra session on February 3, 2023 if needed
14:00 to 18:00 (Paris, UTC+1) – 08:00 to 12:00 (New York, UTC-5) 16 h English Clément Léger Discount: 569 EUR*
Regular: 669 EUR*
Register

*The price is excluding VAT. The online shop charges VAT, except for businesses outside of France if they provide valid company information at registration time. Businesses in France, and individuals registering by themselves must pay VAT.

The discount rate is applicable at the following conditions:

  • Booking at least 1 month prior to the training session start
  • Booking and payment made online using credit card
  • Limit of 6 seats per training session at the discount rate

If you are unable to register through our online shop, do not hesitate to contact us, we will be able to provide a training contract and offer alternative payment methods.

Registration on the online shop remains available until the session starts, subject to seat availability.

See details about our on-line sessions.

Dedicated online sessions

We can organize private online sessions for your team or company. This way, you can choose the dates and times that best suit the needs and availabilities of your teams.

Dedicated on-site sessions

We can send one of our trainers at your own location, anywhere in the world (we have taught classes on all continents). See how to register.

Target audience

This course targets engineers who want to master the debugging, tracing and profiling tools and techniques available on the Linux platform to help in the analysis of bugs, performance issues or memory issues in Linux systems and applications.

Objectives

  • Be able to understand the main concepts of Linux that are relevant for performance analysis: process, threads, memory management, virtual memory, execution contexts, etc.
  • Be able to analyze why a system is loaded and what are the elements that contributes to this load using common Linux observability tools.
  • Be able to debug an userspace application using gdb, either live or after a crash, and analyze the contents of ELF binaries.
  • Be able to trace and profile a complete userspace application and its interactions with the Linux kernel in order to fix bugs using strace, ltrace, perf or Callgrind.
  • Be able to understand classical memory issues and analyze them using valgrind, libefence or Massif.
  • Be able to trace and profile the entire Linux system, using perf, ftrace, kprobes, eBPF tools, kernelshark or LTTng
  • Be able to debug Linux kernel issues: debug kernel crashes live or post-mortem, analyze memory issues at the kernel level, analyze locking issues, use kernel-level debuggers.

See the detailed agenda. At the end of this course, you will be ready to use advanced debugging, tracing and profiling tools in Linux and accelerate the investigation of your Linux system/application bugs and performance issues.

Training materials

The training materials of this course are under development. They will be published as soon as the first session is over (end of November 2022).

Practical labs

STM32MP157C-DK1 Discovery boardIn our on-site courses, each lecture is followed by a practical lab done by the participant. The practical labs represent 50% to 60% of the whole course time. Labs are performed an embedded ARM board, one of the STM32MP157 Discovery (STM32MP157A-DK1, STM32MP157D-DK1, STM32MP157C-DK2, STM32MP157F-DK2). You will use it to experiment the debugging, tracing and profiling tools and techniques on a Linux system. This experience will be relevant regardless of the specific hardware platform you will be using in your own projects.

In our on-line courses, the practical labs are performed as live demonstrations by the trainer. Participants can ask questions at any time. Optionally, the participants who have access to the necessary hardware accessories can reproduce the labs by themselves.

Prerequisites

  • Knowledge and practice of UNIX or GNU/Linux commands: participants must be familiar with the Linux command line. Participants lacking experience on this topic should get trained by themselves, for example with our freely available on-line slides at https://bootlin.com/blog/command-line/
  • Minimal experience in embedded Linux development: participants should have a minimal understanding of the architecture of embedded Linux systems: role of the Linux kernel vs. user-space, development of Linux user-space applications in C. Following Bootlin’s Embedded Linux course allows to fulfill this pre-requisite.
  • Minimal English language level: B1, according to the Common European Framework of References for Languages, for our sessions in English. See the CEFR grid for self-evaluation.

Hardware requirements

  • For on-line courses:
    • Computer with the operating system of your choice, with the Google Chrome or Chromium browser for videoconferencing.
    • Webcam and microphone, from an audio headset
    • High speed access to the Internet
    • Optionally: the hardware accessories needed for the practical labs, if you want to reproduce the practical labs by yourself. Note that this is not mandatory: you can follow the course without those hardware accessories, as the trainer will perform the practical labs as live demonstrations.
  • For on-site courses:
    • Training room
    • Video projector
    • One recent PC computer for each desk (1 or 2 persons) installed with Linux. See the training agenda for detailed requirements.
    • Unfiltered and fast connection to the Internet
    • Bootlin provides the hardware accessories for the practical labs for the duration of the course

By the way, you can also see evaluations from previous sessions. In the same way we are transparent with our training materials, we share all the evaluations that we collect, not only the best ones.

Participants with disabilities

Participants with disabilities who have special needs are invited to contact us to discuss adaptations to the training course.

Contact

For any question, registration or comment, you can contact us:

Further details about our courses