[DTrace-devel] [PATCH 1/2] Add support for strjoin() subroutine

Eugene Loh eugene.loh at oracle.com
Thu Sep 2 13:38:09 PDT 2021


One other question:

         $ grep \.type bpf/*.S
         bpf/strjoin.S:    .type    dt_strjoin, @function
         $ grep \.size bpf/*.S
         bpf/strjoin.S:    .size    dt_strjoin, .-dt_strjoin

Why these in bpf/strjoin.S but not in other assembly files?

On 9/2/21 11:33 AM, Kris Van Hees wrote:
> diff --git a/bpf/strjoin.S b/bpf/strjoin.S
> +	.text
> +	.align	4
> +	.global	dt_strjoin
> +	.type	dt_strjoin, @function
> +dt_strjoin:
> +	mov	%r9, %r1
> +	[...]
> +.L1:
> +	exit
> +	.size	dt_strjoin, .-dt_strjoin


More information about the DTrace-devel mailing list