Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp715551rdb; Thu, 18 Jan 2024 17:36:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IHmdcvoxfrKgTcNVKAOEXz8lvzKfokktjXmtJe6wwZV5y9GNlbGv9zwECDiiQwHQJ/7+p3e X-Received: by 2002:a05:620a:4628:b0:783:4864:8e9b with SMTP id br40-20020a05620a462800b0078348648e9bmr751932qkb.1.1705628195751; Thu, 18 Jan 2024 17:36:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705628195; cv=pass; d=google.com; s=arc-20160816; b=LDUsuBN9nEfP7dCteJY//65bbdiNmPLVX/Ho/XO70wv51LZvR3ySXlDD1c9ejpS6Ny 2Cik0klMrt6dAVQ9mgWz+O/3wulTYggs3KYOmvaEwsGUIIuDedBTNM05TbmaRxe/KLFi Tc5rv4dqSQGa5d0SiPrlOUrpeooNAcaqByuS5mEXeSGTL4K7YsJHtIL3sMojpU7FNE49 hpNq6uLiHg/zsoHbBU/CtF0Db0QpYSG9UDGTMkojkH/cpTTHkdKZoOuiODjghteIQ4Hq FB99h+4Eo7w+iwAFJ4etS3TFH43tQLUXCB38bAiVTTNkcYNJOsa0mzT926bmbScBgyu7 Xs3A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=R5x93yB3/qsru5o4ySzkfQhNeMAI92LolmpvOe1vva8=; fh=Us/DORbzHj5XmgnBeJW+VlCBdo2pSXKHAejHonylCvY=; b=CSzWemMUxLOXPL0eMji+OgjTs3ZQvwWcSwvvoCZRB5zwkKpmxlFTSv9wTPsFprU0T5 BX4ZVVZvlTTzBmVzh/H5HNco23SNBVS0061eoXr4Ps487J4DGMe/LpfpdaeRfglZYQAh 7a2qYeyahOFBC2I3tFhDKcKhQnl3UKXEC0s21PndK9/+R4jS7RTcbLOo/dICRSJf2sWg Dix5k0kiLx9VGgIuh2r8SuYd13yDhTfe9Jb4/fRQBQupYThwsb4OmYxrp8czg5xAz/gC PJq4VSsEdJEJaRygeryc+R4gbIlUdFuK2Af9sMqvaEZI7LCj5x1qo4wAZphfzjCtq4x4 vVBA== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-30687-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30687-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h13-20020a05620a284d00b007830a9a0219si16242063qkp.112.2024.01.18.17.36.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 17:36:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30687-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-30687-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30687-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 7FF761C22AAA for ; Fri, 19 Jan 2024 01:36:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F29291FA6; Fri, 19 Jan 2024 01:36:20 +0000 (UTC) Received: from szxga07-in.huawei.com (szxga07-in.huawei.com [45.249.212.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B1F25EDF; Fri, 19 Jan 2024 01:36:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.35 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705628180; cv=none; b=Cm3io+4BMM6tvXu1j4CkV1ew1a8w9qnQc54NyC30/ar4gEI0L0vBN1W9HenkEzzXbZFs3R3vjw13zz9aLQLgeDblU5pWndfKnh/NlXJjVDIdlF6LCtmbqPwfnUd+wm/Zs79eqWs02bi7lm4g42SMc6qNs7gJa98vpITcmXRYi5k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705628180; c=relaxed/simple; bh=gvMic+SUaGsheZzeoA0LsnGF1GeRG6IfE+uPM9oLPYI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=tTeHpfek5Rbn/nKQFAhOy9Va5bseWzLWOqSROJNaTgkjvHGrQUvyFlDv828v0tiCJAmp99Z64QW/ee8x4LD48IX/weZxqgGfGxylk70GGzXeJ3hMBrwFFJjgXPp+JjdI3EPHw6FrJAneZ5GpzgI9TQS0zdtJcVmVKUnBICNYKKY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.35 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.88.163]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4TGMbw2BPpz1V4MQ; Fri, 19 Jan 2024 09:34:36 +0800 (CST) Received: from canpemm500010.china.huawei.com (unknown [7.192.105.118]) by mail.maildlp.com (Postfix) with ESMTPS id 3585418001A; Fri, 19 Jan 2024 09:36:16 +0800 (CST) Received: from huawei.com (10.175.127.227) by canpemm500010.china.huawei.com (7.192.105.118) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 19 Jan 2024 09:36:15 +0800 From: Ye Bin To: , , , CC: , Subject: [PATCH 3/3] Documentation: tracing: add new type 'pd' and 'pD' for kprobe Date: Fri, 19 Jan 2024 09:38:48 +0800 Message-ID: <20240119013848.3111364-4-yebin10@huawei.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20240119013848.3111364-1-yebin10@huawei.com> References: <20240119013848.3111364-1-yebin10@huawei.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To canpemm500010.china.huawei.com (7.192.105.118) Similar to printk() 'pd' is for print dentry's name, and 'pD' is for print file's name. Signed-off-by: Ye Bin --- Documentation/trace/kprobetrace.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/trace/kprobetrace.rst b/Documentation/trace/kprobetrace.rst index bf9cecb69fc9..c46c5d0a25e6 100644 --- a/Documentation/trace/kprobetrace.rst +++ b/Documentation/trace/kprobetrace.rst @@ -58,7 +58,8 @@ Synopsis of kprobe_events NAME=FETCHARG : Set NAME as the argument name of FETCHARG. FETCHARG:TYPE : Set TYPE as the type of FETCHARG. Currently, basic types (u8/u16/u32/u64/s8/s16/s32/s64), hexadecimal types - (x8/x16/x32/x64), "char", "string", "ustring", "symbol", "symstr" + (x8/x16/x32/x64), VFS layer common type(pd/pD) for print + file name, "char", "string", "ustring", "symbol", "symstr" and bitfield are supported. (\*1) only for the probe on function entry (offs == 0). Note, this argument access -- 2.31.1