Re: [PATCHv2 00/10] ext4: Improve FC trace events

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

 



On Fri, 11 Mar 2022 07:49:31 +0530
Ritesh Harjani <riteshh@xxxxxxxxxxxxx> wrote:

> > # cat /sys/kernel/tracing/events/ext4/ext4_fc_commit_stop/format  
> 
> I think you meant ext4_fc_stats.

Sure.

> 
> >
> > and show me what it outputs.  
> 
> root@qemu:/home/qemu# cat /sys/kernel/tracing/events/ext4/ext4_fc_stats/format
> name: ext4_fc_stats
> ID: 986
> 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:dev_t dev;        offset:8;       size:4; signed:0;
>         field:unsigned int fc_ineligible_rc[EXT4_FC_REASON_MAX];        offset:12;      size:36;        signed:0;

Bah, the above tells us how many items, and the TRACE_DEFINE_ENUM() doesn't
modify this part of the file.

I could update it to do so though.

-- Steve


>         field:unsigned long fc_commits; offset:48;      size:8; signed:0;
>         field:unsigned long fc_ineligible_commits;      offset:56;      size:8; signed:0;
>         field:unsigned long fc_numblks; offset:64;      size:8; signed:0;




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux