Skip to contentSkip to conversation

SDT probes 'f' float type indicator

DISCUSSION Stan Cox 1 participant 1 message Oct 8, 2021

lore
Share & tools
lore

Stan Cox

author
#0 lore raw

Just an FYI that support was added to the upstream user space SDT probes to indicate that an argument can be a float argument. SDT probes are recorded in the .note.stapsdt section and the syntax of a probes' argument is:
[-][Size][f]@[Address]
where:
'-' is optional and indicates a signed type
Size is the sizeof() the type
'f' is optional and indicates a float type
This is a new syntax feature
Address is typically one of:
Literal | Register | Offset(Register) | Register,Register |
Offset(Register,Register)