Project

General

Profile

Actions

Feature #16242

open

DTrace could support demangling symbols for Rust/C++

Added by Michael Zeller 15 days ago. Updated 14 days ago.

Status:
New
Priority:
Normal
Category:
DTrace
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

Today when using DTrace to profile a process you will get mangled symbols from stack()/ustack().
You can post process this output with the in gate demangle utility or use something like c++filt, however it might be nice if DTrace could do this automatically for you.

It looks at least macOS has opted to have DTrace demangle the stacks by default as noted in the man page:

C++ MANGLED NAMES
     By default, dtrace uses the demangled names of C++ symbols. You can tell dtrace to use the mangled symbol names by passing -xmangled to the command.

Actions #1

Updated by Marcel Telka 15 days ago

  • Category set to DTrace
Actions #2

Updated by Robert Mustacchi 14 days ago

  • Assignee set to Robert Mustacchi
Actions

Also available in: Atom PDF