On Fri, 22 Mar 2024 14:43:05 +0800
Ye Bin wrote:
> As like previous patch, this patch support print type '%pD' for print file's
nit: Note that "previous patch" is obscure after it is merged with other patches
in other trees/branches. So it should be "As like %pd".
Anyway, let me change it.
Tha
As like previous patch, this patch support print type '%pD' for print file's
name. For example "name=$arg1:%pD" casts the `$arg1` as (struct file*),
dereferences the "file.f_path.dentry.d_name.name" field and stores it to
"name" argument as a kernel string.
Here is an example:
[tracing]# echo 'p:te
2 matches
Mail list logo