Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp914035lqh; Sat, 1 Jun 2024 01:22:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWS9pYAtZW1F9+abE1TayPo/aLj7u5xMlejs8pWTYZmSFzqbhZ3EjZnpnF/mQZeDsmVVA2XB0iPhHdto6V15xKwYXJcMbYiGyFfwmUkWw== X-Google-Smtp-Source: AGHT+IGDEZf1MQRWo3nYpdke44kElU1dKRBX3j/9EB4mVPXiiPfMDOMUrEG/E7ZVeVoki01OmvfZ X-Received: by 2002:a50:d6d5:0:b0:579:c117:2e75 with SMTP id 4fb4d7f45d1cf-57a363a00b6mr2530102a12.18.1717230161312; Sat, 01 Jun 2024 01:22:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717230161; cv=pass; d=google.com; s=arc-20160816; b=I3R1MoZGwyPJX19K/cx3dDeec2Sr2gr2WX1jrOKl5Z4OtOJFfIfqjr/HN688YJ+KlM 5HPvdXuYoQJdEDp4TrWN9npnafngXFZ1ZgOeU6QoNGdWnZyu5mSwgtams6ZKkCRVgbb/ zeBHxbIAN7wLogEI7ddbN0qReYKSbj9YsGjNkNCJN7h97HaE09xD0e9s9PnUhSpZrS7P Wsos1OzDy47xPRb6EPQ+vBVcF1Ge3UCEb0Wm3GUu6Yfek/FdvFzrvCEhhMCnpbvdpay3 Alqr4cLTHBB46ijaTdM38PwZJehYxcpVqROocVOo57oG55ZnfdiYmwMqNnsPodT81r4b z/tg== 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:user-agent:message-id:date :subject:cc:to:from:dkim-signature; bh=XLHb2v1c+sAH+iZWm+g6sEvA1fS/zEoOb42JkQCCCLg=; fh=MVwHBGRSGmZU74aLqYm+M/AGhZWHsMrP0c2+q3cgSNc=; b=Lf8Nj7T2INBI4lVbzTBP2z2NSQvGREXWxJ4BN5S8kdy1OepynLFeggpwVdQsmzisvJ FgkNz3PtprcjGTG88Q54KTmS5ML4gh5NNnNZ53yiLT65N+0zT6kCkFREv9YNRpQ9yOUn nu5gnUENfvvvxZNNauyboQYzGg8k482RcTo2pIPhVbhhTOKFZyifmbAIio2+6wwUhz6Q 2luMT01mF/KnK6JQkFTyqyS8iu/moMg/RuB5wxmNOVWjoE78Ev7ewPkmR4KHjVsjVkB9 C99550XIX9tcoKfh/obXL0n2P171/9QXK7FohZ/OJZ/zQ16rkoQ/NMq7o1x8gBe+W4Ue QPdw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ROMsGFrO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-197764-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197764-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a31b80d96si1795014a12.101.2024.06.01.01.22.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jun 2024 01:22:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197764-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ROMsGFrO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-197764-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197764-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id F02DB1F26C1E for ; Sat, 1 Jun 2024 08:22:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 01B681BF37; Sat, 1 Jun 2024 08:22:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ROMsGFrO" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 1A460ED8; Sat, 1 Jun 2024 08:22:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717230152; cv=none; b=tIoMIGrRTbJUXsvF4HWSVH+4wZFgt6d/ioeNgpIjYXm2EaIngoCZKVVtu+7f78eAv34RlA24cRmiRw0kp1LcwIyH1x32CKjPYmDuhmb7qhSU6YirIKUd9yVt2Q5d7f6bmGjCiPKwXQTM02orjSvHNojGvifDrVxxk1QGjdR6i9E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717230152; c=relaxed/simple; bh=3Zpc4KSP5zsEw/HCmL80exkin2LGyBPvPU49ttgtTa4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=tj+qlNTQ3m7Gb5YMt5ZvngdS3CfzypAjJbEw1ljYiCAM6qpdu1Vt7RROIqtcyfVl1phVVIfYpUQMU1j5vSTh6nReRb37XQ7dlRH2Tx/KZrOgeRo+APihWkIT6OjPeMh85/YqVZAdcAKEybr2s8oZRDl0It5HIyrmmo8nil0J8CM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ROMsGFrO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3FBC3C116B1; Sat, 1 Jun 2024 08:22:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717230151; bh=3Zpc4KSP5zsEw/HCmL80exkin2LGyBPvPU49ttgtTa4=; h=From:To:Cc:Subject:Date:From; b=ROMsGFrOR2xkXoHgdDker2uIz62Gbt3bioZfPtfC8AeDfc3L+dAZjwjOXlt1/waLU ReSRefbxruGG9cZvOPVYLM37BCMS0fensfPQMoDiLRnVsAnDkMLFPCY51B6chm5lkr cloXaFxjzK1vtazczCt3S1qRbfZr9kieUvBw7aqSznWfTdnGCZqCZhvB5YGR1u2Z91 Nec3fA7vb3YiiwZ7EpF/4pbYFvEzgBIRRPRQWxAQ9kbFaBC0Kia6+rq9S1LygLAaZJ B2ux1bkkp0evT3vV4eyb5IH33cSm2U0NDtjC/7RQB90vKddBUsanuDLzXhYueN3hZE JL0YYgJBwVzJQ== From: "Masami Hiramatsu (Google)" To: Steven Rostedt Cc: Mathieu Desnoyers , don , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, mhiramat@kernel.org Subject: [PATCH v2 0/3] tracing/probes: Support tracepoint events on modules Date: Sat, 1 Jun 2024 17:22:27 +0900 Message-Id: <171723014778.258703.6731294779199848686.stgit@devnote2> X-Mailer: git-send-email 2.34.1 User-Agent: StGit/0.19 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hi, This series implements the tracepoint events on modules. This version separates a patch for tracepoint subsystem from fprobe-event patch, and adds a selftests for tracepoint events on modules. Thank you, --- Masami Hiramatsu (Google) (3): tracepoint: Support iterating over tracepoints on modules tracing/fprobe: Support raw tracepoint events on modules sefltests/tracing: Add a test for tracepoint events on modules include/linux/tracepoint.h | 7 +++ kernel/trace/trace_fprobe.c | 46 +++++++++++++++++--- kernel/tracepoint.c | 16 +++++++ tools/testing/selftests/ftrace/config | 1 .../test.d/dynevent/add_remove_tprobe_module.tc | 34 +++++++++++++++ 5 files changed, 96 insertions(+), 8 deletions(-) create mode 100644 tools/testing/selftests/ftrace/test.d/dynevent/add_remove_tprobe_module.tc -- Masami Hiramatsu (Google)