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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 5 May 2023 11:20:26 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> On Tue,  2 May 2023 11:18:56 +0900
> "Masami Hiramatsu (Google)" <mhiramat@xxxxxxxxxx> 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.

Ah, OK. I just added a head space for each line... (hmm, checkpatch.pl may not check it?)

I'll fix it.

Thank you!

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


-- 
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux