Re: [PATCH v7 0/5] support '%pd' and '%pD' for print file name

2024-03-21 Thread Google
Hi Ye, On Wed, 20 Mar 2024 21:29:19 +0800 Ye Bin wrote: > During fault locating, the file name needs to be printed based on the > dentry/file address. The offset needs to be calculated each time, which > is troublesome. Similar to printk, kprobe supports printing file names > for dentry/file

[PATCH v7 0/5] support '%pd' and '%pD' for print file name

2024-03-20 Thread Ye Bin
During fault locating, the file name needs to be printed based on the dentry/file address. The offset needs to be calculated each time, which is troublesome. Similar to printk, kprobe supports printing file names for dentry/file addresses. Diff v7 vs v6: 1. Squash [1/8] to [3/8] patches into 1