Free courses from frontend to fullstack and AI
AI, Data Science & Cloud Certificates from Google, IBM & Meta
Overview
Build a Learning Habit
Download Class Central's free printable study calendar
Download for Free
This training video demonstrates practical DTrace implementation for multithreading scenarios, focusing on variables, the sched provider, function call counting, and thread ID capture. Learn how to develop effective D programs through hands-on examples, starting with an introduction to useful resources before exploring the a.out module, curcpu variable, and sched provider. Understand a sample application's architecture, then master techniques for counting user function calls and capturing Posix thread IDs. Explore thread scheduling statistics, learn when to use aggregations, and work with on-cpu and off-cpu probes. The 36-minute Oracle tutorial provides comprehensive coverage of DTrace methodology with practical examples, serving as the second part of a multithreading module series. Additional free resources are available through Oracle Linux Training Station, Hands-on Labs, YouTube playlists, and official documentation.
Syllabus
00:00 Introduction and useful resources
01:58 The a.out module
02:46 curcpu variable
03:09 The sched provider
04:02 Understand the example application
05:29 Counting user function calls
11:27 Capturing Posix thread IDs
21:38 Thread scheduling statistics
23:06 Use aggregations?
25:08 on-cpu probe
26:41 off-cpu probe
28:30 End probe
Taught by
Oracle Learning