From nobody Sun Feb 8 20:52:11 2026 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 B77E71E9B29 for ; Thu, 30 Jan 2025 18:15:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738260929; cv=none; b=H9POQJLTtriBMDWGgu51iMN2CbeevIlYp92NfcvAf1prULV+bcLMgvMdn5BT0sdxZN4Ux4lTmSmfaOgy0VUD5hz/eDtjiJTBaBky7jJjc7Uwnn0TVbkzjdHx3zQSFNREt8ckN2MITTYna1yMgla1QNCc2MM7Mfu8WeOvG9ezks4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738260929; c=relaxed/simple; bh=XPT+9XkaTAzObYJ1bdlbTqw6s3LWjn4zwDx+3v+UTR4=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=QKyGaznY/xmHIyUVtsw4zhyoiUTX7kH1b1tpk2BYIVIVjGatLK8MrYLxlOMQwaNtyWK7UDIoTGCKPmipLaBCDf8/1UDgnRGKYIKBeOxJIb/iLZvAfDYkGnAH9vMip6AOd6+w1iBvkhCLDUMGPx+6+Pysds41EHPjqL/f1wg18+M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=daXhFsUU; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="daXhFsUU" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1738260926; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=d23NPHmcbepta9lyEp40cUJkMkXp8ZsIbiHpFpP824s=; b=daXhFsUUY+29N1SIYDoUwOi/zsE4f2AnbJrDlmyVug0pGRajLYGZcD11ITodaLk+b40REf pfumkNquJLHNQDcPbkaWkuInPyL8yG8euPdjmeV94zKtXcmm9LwmZxeWuA4jV4IxEZm7O/ j6OcGOLuUxDLgeRlg192ncaEyzEkx58= Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-592-utabT-OKMDqFep12mqVStA-1; Thu, 30 Jan 2025 13:15:23 -0500 X-MC-Unique: utabT-OKMDqFep12mqVStA-1 X-Mimecast-MFC-AGG-ID: utabT-OKMDqFep12mqVStA Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id C7DC419560AB; Thu, 30 Jan 2025 18:15:21 +0000 (UTC) Received: from wcosta-thinkpadt14gen4.rmtbr.csb (unknown [10.22.88.125]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id F2D2C1800268; Thu, 30 Jan 2025 18:15:16 +0000 (UTC) From: Wander Lairson Costa To: Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , "Darrick J. Wong" , =?UTF-8?q?Thomas=20Hellstr=C3=B6m?= , "Rafael J. Wysocki" , Takashi Iwai , Wander Lairson Costa , linux-kernel@vger.kernel.org (open list:TRACING), linux-trace-kernel@vger.kernel.org (open list:TRACING) Subject: [PATCH] irq/tracing: Add IRQ name to irq_handler_exit tracepoint Date: Thu, 30 Jan 2025 15:14:38 -0300 Message-ID: <20250130181439.58130-1-wander@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 Content-Type: text/plain; charset="utf-8" The irq_handler_entry tracepoint includes a "name" field, which allows for easy identification and filtering of specific IRQs. However, the irq_handler_exit tracepoint lacks this field, making it difficult to pair corresponding entry and exit events for analysis. Add the "name" field to irq_handler_exit to enable consistent tracking and correlation of IRQ entry and exit events. Signed-off-by: Wander Lairson Costa --- include/trace/events/irq.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/trace/events/irq.h b/include/trace/events/irq.h index 837c1740d0d0..d705406daa37 100644 --- a/include/trace/events/irq.h +++ b/include/trace/events/irq.h @@ -88,16 +88,18 @@ TRACE_EVENT(irq_handler_exit, =20 TP_STRUCT__entry( __field( int, irq ) + __string( name, action->name ) __field( int, ret ) ), =20 TP_fast_assign( __entry->irq =3D irq; + __assign_str(name); __entry->ret =3D ret; ), =20 - TP_printk("irq=3D%d ret=3D%s", - __entry->irq, __entry->ret ? "handled" : "unhandled") + TP_printk("irq=3D%d name=3D%s ret=3D%s", + __entry->irq, __get_str(name), __entry->ret ? "handled" : "unhandled") ); =20 DECLARE_EVENT_CLASS(softirq, --=20 2.48.1