Re: [PATCH] readahead: Add trace points

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

 



On Mon, Sep 08, 2025 at 04:55:34PM +0200, Jan Kara wrote:
>  
>  /*
> @@ -314,6 +317,7 @@ static void do_page_cache_ra(struct readahead_control *ractl,
>  	loff_t isize = i_size_read(inode);
>  	pgoff_t end_index;	/* The last page we want to read */
>  
> +	trace_do_page_cache_ra(inode, index, nr_to_read, lookahead_size);

Any reason why put a probe here instead of page_cache_ra_unbounded as
that is where the actual readahead happens?

-- 
Pankaj Raghav




[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