Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp521898rdb; Thu, 22 Feb 2024 10:39:15 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXxJHEZkVtp63QazLI4eZ5hlSh1Bqqk4CFhl8R9Vt2bvOPUTIl5cOQKVfBDBAiozLKsvTs9SjQBb5a+2y0sA8Jdu2zPmlrn7faS9SHaIw== X-Google-Smtp-Source: AGHT+IHmIB7VP4556Fn9WOINJLc5nSxOsTCD+6OgbcpQpF8HU9qMN1tLvKNMPL8/34RqONJuwSAb X-Received: by 2002:a17:906:468d:b0:a3f:9c9b:2037 with SMTP id a13-20020a170906468d00b00a3f9c9b2037mr1331895ejr.67.1708627155547; Thu, 22 Feb 2024 10:39:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708627155; cv=pass; d=google.com; s=arc-20160816; b=VHy0GQjKi+QsG0+SBisYzS41K6W0iatTXmR/ikLHecVG6UqYshSkcT2/HaI9ihVXJX GrpRTdwBC6uIbO2YgwVadatGCMdlWYJJDvMp1iH6RqSHya42GnGdrpuduNXVzLoWq/Qs IOqzmBynMn5Kc4Vw3p5hAqWkN6dRL/XFtwnRgSstczo1dYXE95TzG0LFoAGsXdYZGA2+ JdgXnjWfoKNqqvoZ+sRPzXxGnJVAfcCcOQx6P9AuTo2xQt1PMdrQsHRtLQITs683ZNow ANfM0n7YNqtXjQvMLKciqu8xv69BE3SKTowB/qL1Hm0+syCJTIA5MM8rC6iFO3G30rx2 thFg== 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:message-id:subject:cc:to:from :date; bh=BNhDioYhbtLpbzn0FteHMTk8w6lD0uEvJm4MFp1I6YM=; fh=kPRxJNOku1+H7hvbRauk+pHBmW9RnLr10UO8YUlD/B8=; b=sjErYu0rSGBrK5pX2CL32MmYhp8rJNggzJVQ5IhlWNSxxxPVZp7/jti5e6OewtSRuu RFqEiEwh6Rcm/ynZ862jew4znbn2ZnE1o/2cEV1yARDEj0Szk1n1C64239zhggQ2pmJH fkLAtVMSfrmTkuiTUeypU/TJBYabsjHGh3GakGVBf0ALaAGRLqKbsGB6kbnkFjeG4ljF H82aw5q01Z+YVbAm7DMEnrainI3KLnxmsvHleJRn8gwSg+yCYmJinEHWKOQco2MixH62 bwInyRoYp4iKQGuktKRKhW85W5TQrlL4HAeHWPDymZVeUmEtINIkh5kOF98GLkerdEXQ lTBw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-77142-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77142-linux.lists.archive=gmail.com@vger.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 jp6-20020a170906f74600b00a3e6388bf5esi4514925ejb.768.2024.02.22.10.39.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 10:39:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77142-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; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-77142-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77142-linux.lists.archive=gmail.com@vger.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 4CBF71F26E7C for ; Thu, 22 Feb 2024 18:39:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 83B6F13BAD3; Thu, 22 Feb 2024 18:29:08 +0000 (UTC) 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 06A69137923; Thu, 22 Feb 2024 18:29:07 +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=1708626548; cv=none; b=fI7/oXZJsE/3h0hGBRnNX/dUu0kD4t2j5bcz/TJ9VLsPgbr1bl8+fu+7igKcMwQ9vcVyxjrZ4nEb7b3fXzmN2hOew5LgmOKbPwcjhz47YmesdDqkWCGZiOorCo4lsSwHvxfN1coTeqpq3l/BH8w/6/zNIityso+/9GHvtmFqDfU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708626548; c=relaxed/simple; bh=pBekZ+WsAj+6n/8strTHjSgCBwuZw+ZZ7K+e+nZzKYY=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=F8tI2NmIuiDAoXlden6hm+wB5PkTGq7UiZ79tObuFZ8raj0vUcOvcFgLmHXMBIkhRssFZclIz+unGCHowEKQVEaKVfh+wzDOjhqwsv6WGNHpRL011IPevvg34x1y5fyHtn+RXiTNVUDMOyo9IXHn4+puA3nuGeN1jc0o2IYeit0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8E11C433F1; Thu, 22 Feb 2024 18:29:06 +0000 (UTC) Date: Thu, 22 Feb 2024 13:30:57 -0500 From: Steven Rostedt To: LKML , Linux Trace Kernel Cc: dri-devel@lists.freedesktop.org, intel-xe@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, "Ville =?UTF-8?B?U3lyasOkbMOk?=" , Daniel Vetter , David Airlie Subject: [PATCH] drm/i915: Add missing ; to __assign_str() macros in tracepoint code Message-ID: <20240222133057.2af72a19@gandalf.local.home> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) 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=US-ASCII Content-Transfer-Encoding: 7bit From: "Steven Rostedt (Google)" I'm working on improving the __assign_str() and __string() macros to be more efficient, and removed some unneeded semicolons. This triggered a bug in the build as some of the __assign_str() macros in intel_display_trace was missing a terminating semicolon. Fixes: 2ceea5d88048b ("drm/i915: Print plane name in fbc tracepoints") Signed-off-by: Steven Rostedt (Google) --- drivers/gpu/drm/i915/display/intel_display_trace.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_display_trace.h b/drivers/gpu/drm/i915/display/intel_display_trace.h index 99bdb833591c..7862e7cefe02 100644 --- a/drivers/gpu/drm/i915/display/intel_display_trace.h +++ b/drivers/gpu/drm/i915/display/intel_display_trace.h @@ -411,7 +411,7 @@ TRACE_EVENT(intel_fbc_activate, struct intel_crtc *crtc = intel_crtc_for_pipe(to_i915(plane->base.dev), plane->pipe); __assign_str(dev, __dev_name_kms(plane)); - __assign_str(name, plane->base.name) + __assign_str(name, plane->base.name); __entry->pipe = crtc->pipe; __entry->frame = intel_crtc_get_vblank_counter(crtc); __entry->scanline = intel_get_crtc_scanline(crtc); @@ -438,7 +438,7 @@ TRACE_EVENT(intel_fbc_deactivate, struct intel_crtc *crtc = intel_crtc_for_pipe(to_i915(plane->base.dev), plane->pipe); __assign_str(dev, __dev_name_kms(plane)); - __assign_str(name, plane->base.name) + __assign_str(name, plane->base.name); __entry->pipe = crtc->pipe; __entry->frame = intel_crtc_get_vblank_counter(crtc); __entry->scanline = intel_get_crtc_scanline(crtc); @@ -465,7 +465,7 @@ TRACE_EVENT(intel_fbc_nuke, struct intel_crtc *crtc = intel_crtc_for_pipe(to_i915(plane->base.dev), plane->pipe); __assign_str(dev, __dev_name_kms(plane)); - __assign_str(name, plane->base.name) + __assign_str(name, plane->base.name); __entry->pipe = crtc->pipe; __entry->frame = intel_crtc_get_vblank_counter(crtc); __entry->scanline = intel_get_crtc_scanline(crtc); -- 2.43.0