• lemmyreader@lemmy.ml
    link
    fedilink
    English
    arrow-up
    6
    ·
    9 months ago

    Years ago I read that DTrace was available for FreeBSD and it got a lot of praise. https://docs.freebsd.org/en/books/handbook/dtrace

    DTrace is a remarkable profiling tool, with an impressive array of features for diagnosing system issues. It may also be used to run pre-written scripts to take advantage of its capabilities. Users can author their own utilities using the DTrace D Language, allowing them to customize their profiling based on specific needs.

    Didn’t know it is available for Linux now :)

  • AutoTL;DR@lemmings.worldB
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

    This is the best summary I could come up with:


    DTrace 2.0.0-1.14 was released this past week as the latest iteration of this user-space implementation that builds off the Linux kernel tracing functionality like BPF.

    It’s been a decade now that Oracle has been working on DTrace for Linux albeit with time Linux’s native tracing abilities have improved and with DTrace 2.0 now confined to just a standalone user-space application leveraging the kernel’s native capabilities.

    Bringing back the OpenSolaris memories from the Sun days… With the new DTrace 2.0.0-1.14, the functionality is close to being “feature complete” compared to the prior DTrace for Linux 1.2 kernel-based implementation.

    This new version is based on BPF and other Linux kernel tracing features and is implemented entirely as a userspace application.

    It can be used for tracing on any Linux kernel that provides BPF based tracing and BTF type data, although (as mentioned below) improved functionality depends on two (optional) kernel patches.

    Development continues in an incremental fashion to make the full feature set of DTrace available using existing kernel features.


    The original article contains 285 words, the summary contains 168 words. Saved 41%. I’m a bot and I’m open source!