Gregg: bpftrace (DTrace 2.0) for Linux 2018
Gregg: bpftrace (DTrace 2.0) for Linux 2018
Posted Oct 12, 2018 4:42 UTC (Fri) by kloczek (guest, #6391)In reply to: Gregg: bpftrace (DTrace 2.0) for Linux 2018 by Paf
Parent article: Gregg: bpftrace (DTrace 2.0) for Linux 2018
Posted Oct 12, 2018 5:50 UTC (Fri)
by Cyberax (✭ supporter ✭, #52523)
[Link] (7 responses)
Posted Oct 12, 2018 11:24 UTC (Fri)
by ehiggs (subscriber, #90713)
[Link] (4 responses)
https://oss.oracle.com/projects/DTrace/
As seen in the actual files in tree:
https://oss.oracle.com/git/gitweb.cgi?p=dtrace-linux-kern...
I'm not sure why there doesn't seem to be a push to move this upstream. Maybe people are waiting for Oracle to make the first step.
Posted Oct 13, 2018 7:10 UTC (Sat)
by cyphar (subscriber, #110703)
[Link] (3 responses)
Maybe if DTrace had an "acceptable license" from the outset it would've been merged and we wouldn't have needed SystemTap or ktap or most of the bpf_trace code we have now (then again, there are many examples to the contrary where the Linux community has decided to not merge acceptably-licensed code from other kernels -- such as kqueue for instance).
I used to pine for DTrace on Linux, but what we have today with bpftrace is more than adequate.
Posted Oct 13, 2018 7:37 UTC (Sat)
by Cyberax (✭ supporter ✭, #52523)
[Link]
Additionally, DTrace seamlessly integrates kernel and userspace tracing. This is missing from bpftrace as far as I can see.
Posted Oct 14, 2018 17:05 UTC (Sun)
by kloczek (guest, #6391)
[Link] (1 responses)
Posted Oct 14, 2018 21:29 UTC (Sun)
by anselm (subscriber, #2796)
[Link]
Not really. Since DTrace until not very long ago wasn't available under a GPL-compatible license, the choice was between cloning it (which especially with a litigation-happy company like Oracle at the other end doesn't sound like a great idea, ask Google) or coming up with something similar but independent. It's no great surprise that the Linux developers opted for the latter.
Right now the Linux-native approaches are so well established that even if Oracle submitted DTrace for inclusion in the mainline kernel it would probably not be accepted as-is, not because of NIH but because there is no real necessity to have two invasive subsystems that basically do the same thing.
Posted Oct 14, 2018 17:03 UTC (Sun)
by kloczek (guest, #6391)
[Link] (1 responses)
Posted Oct 14, 2018 17:39 UTC (Sun)
by Cyberax (✭ supporter ✭, #52523)
[Link]
Gregg: bpftrace (DTrace 2.0) for Linux 2018
Gregg: bpftrace (DTrace 2.0) for Linux 2018
Gregg: bpftrace (DTrace 2.0) for Linux 2018
Gregg: bpftrace (DTrace 2.0) for Linux 2018
Gregg: bpftrace (DTrace 2.0) for Linux 2018
Gregg: bpftrace (DTrace 2.0) for Linux 2018
Gregg: bpftrace (DTrace 2.0) for Linux 2018
https://www.theregister.co.uk/2018/02/19/oracle_open_sour...
Gregg: bpftrace (DTrace 2.0) for Linux 2018