[Bug translator/26129] The @cast(variable, type) operator failing to find type information

wcohen at redhat dot com sourceware-bugzilla@sourceware.org
Wed Jun 17 14:26:25 GMT 2020


https://sourceware.org/bugzilla/show_bug.cgi?id=26129

--- Comment #2 from William Cohen <wcohen at redhat dot com> ---
Okay, simple enough to fix the examples @cast to include the needed "kernel"
argument. What about the sizeof.stpm:

@define cast_sizeof(type) %(
    ( & @cast(0, @type) [1] )
%)

should that include a "kernel" argument in there to keep the previous
semantics?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Systemtap mailing list