From mboxrd@z Thu Jan 1 00:00:00 1970 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 8158826F476 for ; Fri, 23 Jan 2026 19:45:47 +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=1769197548; cv=none; b=dWpbew4fkfYKQpJ/VNxKYYX0HD/y2lfH8cdgwjfP8FpjCeq3wJy+rNO7KbKDskU9ndqoBGsSGie/UvY64xyFRQhRYUXo1Niw4iK8z+jhmUf/jv4JeGgUgOaZcpX5waI1TfeySoWkux84e6diylHrm4vY3sc9mSqCRLwVzSW3hW4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769197548; c=relaxed/simple; bh=Nk5uzwoANqoRcY0cyp5LaiHtC5a0UyLUtk/IP3OWMKU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=giai1sQNAyeNg0wVovBc9VHb7bbKDO1wNXB9HDfiFHoF+QKIx89GgBxXSXI0eI4/Z6zznUX9lMa4Xh50aIdv2DDW+oAto8bMgwk6eYw8NihS+04Y3K+ItncmyyQsMo1pz0uQUS67ggnCVpGSnt3QJlpKPDYeBNXxeoknxGXxKmw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LIIi02yM; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LIIi02yM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF5DFC4AF09; Fri, 23 Jan 2026 19:45:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769197547; bh=Nk5uzwoANqoRcY0cyp5LaiHtC5a0UyLUtk/IP3OWMKU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LIIi02yMrQuLR+TVEFHs16e/I1F4H7xVXaJChuCbpQfnDLX4uyiUQvg9zPm6crSOM ihrR+MUO5UpOfgirGWahj2tellfWWVxKxWlsQ9isznVPcUsOjWuEZxBGTwEZaySc+Q d+cO12Wwz/aRnQYcsmdpo8M3qxfO2g5kl0GQ+3k4DCWWY5tfXxNLTcxn6SP1EKgV+j ZqXV9pCuw3euXYs8Ycpqx46o/065Pmp+/OMZ41423AocyKevMpox5R17H9vYR3QQrO K9kXYe/Wh9Jrj06MHvbnHYqwform/dWZM6Qc+PJZEk/Ccfzclr7GrMqEfE6VRwitw8 KqHen0oAbEyuQ== Date: Fri, 23 Jan 2026 12:45:42 -0700 From: Nathan Chancellor To: Nicolas Frattaroli Cc: Sasha Levin , Boris Brezillon , Steven Price , Liviu Dudau , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Chia-I Wu , Karunika Choo , kernel@collabora.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH v10 3/4] drm/panthor: Add tracepoint for hardware utilisation changes Message-ID: <20260123194542.GA75720@ax162> References: <20260116-panthor-tracepoints-v10-0-d925986e3d1b@collabora.com> <20260116-panthor-tracepoints-v10-3-d925986e3d1b@collabora.com> <3154579.irdbgypaU6@workhorse> 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-Disposition: inline In-Reply-To: <3154579.irdbgypaU6@workhorse> On Fri, Jan 23, 2026 at 01:52:19PM +0100, Nicolas Frattaroli wrote: > On Friday, 23 January 2026 05:02:21 Central European Standard Time Sasha Levin wrote: > > With this commit, I'm seeing: > > > > In file included from drivers/gpu/drm/panthor/panthor_trace.h:86, > > from drivers/gpu/drm/panthor/panthor_gpu.c:26: > > ./include/trace/define_trace.h:118:42: fatal error: ./panthor_trace.h: No such file or directory > > 118 | #include TRACE_INCLUDE(TRACE_INCLUDE_FILE) > > > > I think we need to add in 'CFLAGS_panthor_gpu.o := -I$(src)' to the Makefile > > too, but I haven't tested that yet. > > > > > > Huh, puzzling that I never ran into this build failure. > > Doing another build right now, I still can't reproduce it even on a clean > build without ccache. Your fix looks appropriate though judging by the LWM[1] > series on event tracepoints. > > I'll submit a fix for this. You will only see this when building in-tree (i.e., no O= or KBUILD_OUTPUT) because $(src) and $(obj) are only added to the include path automatically when building out of tree (see scripts/Makefile.lib, search for 'ifdef building_out_of_srctree'), which could explain why you (and presumably Mark doing -next) have not seen this error yet. $ make -skj"$(nproc)" ARCH=arm64 CROSS_COMPILE=aarch64-linux- O=build defconfig drivers/gpu/drm/panthor/panthor_gpu.o $ make -skj"$(nproc)" ARCH=arm64 CROSS_COMPILE=aarch64-linux- defconfig drivers/gpu/drm/panthor/panthor_gpu.o In file included from drivers/gpu/drm/panthor/panthor_trace.h:86, from drivers/gpu/drm/panthor/panthor_gpu.c:26: ./include/trace/define_trace.h:118:42: fatal error: ./panthor_trace.h: No such file or directory 118 | #include TRACE_INCLUDE(TRACE_INCLUDE_FILE) | ^ compilation terminated. Cheers, Nathan