[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240119013848.3111364-1-yebin10@huawei.com>
Date: Fri, 19 Jan 2024 09:38:45 +0800
From: Ye Bin <yebin10@...wei.com>
To: <rostedt@...dmis.org>, <mhiramat@...nel.org>,
<mathieu.desnoyers@...icios.com>, <linux-trace-kernel@...r.kernel.org>
CC: <linux-kernel@...r.kernel.org>, <yebin10@...wei.com>
Subject: [PATCH 0/3] support '%pd' and '%pD' for print file name
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.
Ye Bin (3):
tracing/probes: support '%pd' type for print struct dentry's name
tracing/probes: support '%pD' type for print struct file's name
Documentation: tracing: add new type 'pd' and 'pD' for kprobe
Documentation/trace/kprobetrace.rst | 3 +-
kernel/trace/trace_probe.c | 50 +++++++++++++++++++++++++++++
2 files changed, 52 insertions(+), 1 deletion(-)
--
2.31.1
Powered by blists - more mailing lists