Skip to content

Consider less aggressively mangled names in kernel code #979

@daniel-levin

Description

@daniel-levin

I am still learning the space so apologies for the possibly quite naive request. Anyhow, I noticed that xde's function names are mangled in a rather unfriendly way. To wit, I wanted to DTrace gen_arp_reply and found a rather unpleasantly mangled fbt probe:

root@redacted:~# dtrace -n 'fbt::_ZN4opte6engine3arp13gen_arp_reply17h1b65024303de78e2E:entry { stack(); }'
dtrace: description 'fbt::_ZN4opte6engine3arp13gen_arp_reply17h1b65024303de78e2E:entry ' matched 1 probe
CPU     ID                    FUNCTION:NAME
 60   4275 _ZN4opte6engine3arp13gen_arp_reply17h1b65024303de78e2E:entry
              xde`_ZN75_$LT$oxide_vpc..engine..VpcNetwork$u20$as$u20$opte..engine..NetworkImpl$GT$10handle_pkt17heb8b76b14f6bae95E+0x1ae
              xde`xde_mc_tx+0x2b73
              mac`mac_ring_tx+0x50
              mac`mac_provider_tx+0x6d
              mac`mac_tx+0x28b
              viona`viona_tx+0x325
              viona`viona_worker_tx+0x80
              viona`viona_worker+0x223
              unix`thread_start+0xb

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions