Re: [PATCH v9.1 11/11] Documentation: tracing/probes: Add fprobe event tracing document

Steven Rostedt
2023-05-05T15:20:35Z

On Tue, 2 May 2023 11:18:56 +0900
"Masami Hiramatsu (Google)" <mhiramat@kernel.org> wrote:

> + # cat events/fprobes/myprobe/format
> + name: myprobe
> + ID: 1313
> + format:
> + field:unsigned short common_type; offset:0; size:2; signed:0;
> + field:unsigned char common_flags; offset:2; size:1; signed:0;
> + field:unsigned char common_preempt_count; offset:3; size:1; signed:0;
> + field:int common_pid; offset:4; size:4; signed:1;
> +
> + field:unsigned long __probe_ip; offset:8; size:8; signed:0;
> + field:u64 count; offset:16; size:8; signed:0;
> + field:u64 pos; offset:24; size:8; signed:0;

git complained when I pulled this in because there above lines is:

<space><tab>field...

Where, the space should be removed.

-- Steve

> +
> + print fmt: "(%lx) count=%Lu pos=0x%Lx", REC->__probe_ip, REC->count, REC->pos