Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

This simple script uses the line probe to count how many times a line was
executed in a Ruby program.  In this example you can see it running on the
Code/Ruby/func_slow.rb program.

# rb_lines.d
Tracing... Hit Ctrl-C to end.
^C
                             FILE:LINE        COUNT
                     func_slow.rb:3               1
                     func_slow.rb:4               1
                     func_slow.rb:5               1
                     func_slow.rb:6               1
                     func_slow.rb:12              1
                     func_slow.rb:13              1
                     func_slow.rb:14              1
                     func_slow.rb:15              1
                     func_slow.rb:19              1
                     func_slow.rb:22              1
                     func_slow.rb:23              1
                     func_slow.rb:24              1
                     func_slow.rb:25              1
                     func_slow.rb:29              1
                     func_slow.rb:32              1
                     func_slow.rb:26         100000
                     func_slow.rb:27         100000
                     func_slow.rb:16         200000
                     func_slow.rb:17         200000
                     func_slow.rb:7          300000
                     func_slow.rb:8          300000