From patchwork Tue Nov 19 14:23:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 844275 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp1181811wrx; Tue, 19 Nov 2024 06:25:46 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXida4DFGRVZ+Hm0qUk+iQJhvPEKaIh5ANww16g9aWHSprHwZg5dpSJ1oY/D8OHKpjChgXUiQ==@linaro.org X-Google-Smtp-Source: AGHT+IGRS+AeHMyrRDmFXFLk7ut823Hx9X5ikGsD+1bxWBTJCRWlteT7Oi/MJdTi0ebs+C4bp5cQ X-Received: by 2002:a05:620a:1920:b0:7b1:51df:117f with SMTP id af79cd13be357-7b3623436d5mr2215810385a.56.1732026346026; Tue, 19 Nov 2024 06:25:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732026346; cv=none; d=google.com; s=arc-20240605; b=YdYFOVofrNZtbzrz4M/jUwdwhKxN3Bl3XcfpuqtWSWGfGSgifRxDNWfV7VqkF+8RXt FzB684CPTeuoG2RE/z/L6Ctf6WRVekLiQgeuVidNuzsbm6SQD+iO/4oagteUwZz7x6mz lh1Nv5BWPu3dYGYNeRR9IoEk+4GrFfGYS2scclKAOwauZVpHI27nLB8Fb2ZnVHhVhSep sZ0DqUlcsHlv+rH/B9ir69MpJzqNo6ZUG3d9V0ij2bwQAN0p55O2FAEswebr54qZC4PS Uex7a6In/tkVvMvRTs3X+O7eCdT8sKFTd3Ey9g/E0l211yhK2te/eUwvP8grkU4RK3rR zkaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=sgmkEh/mAYEEOBGITS2M+Q2muX4d/fOxHqnXuvoWYiU=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=chhXSFSrGNjb8yv81tvAJg3VLYMNZ0X9r77IbntfS9NGwCiIB1xEMX5Pu6cHnFJeGR 7QyrdKwFx39c0vd67sqpxOnItYe7HHvJ043zmS6/wA2hLBJYsfbGPdRUTrBlw0TrOwyr a7/zP1jBQqlIN9D+ZgCOPrHPYtR4fOW4gd9ujTJyhQ0/3M9NTsu4DzBp46UlUKtVZiE5 Rzh8PiFuEwDkeYh9EH7UkX0bkDzmMyPKoo6jRLzfU7+/4biHQ2q1xg4l6B3TzgVOyN0o o2+uyZ4CiWaic84qu6ZpBdV7DEbe05ONswvrHAVpBcIJcTd3V6foFhCSqcFROoMBpkv9 4g2Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JHIaIC79; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7b37a898134si233126285a.388.2024.11.19.06.25.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Nov 2024 06:25:46 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JHIaIC79; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDP8i-0005wH-LT; Tue, 19 Nov 2024 09:23:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tDP8f-0005vG-HT for qemu-devel@nongnu.org; Tue, 19 Nov 2024 09:23:33 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tDP8e-0006Em-05 for qemu-devel@nongnu.org; Tue, 19 Nov 2024 09:23:33 -0500 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-431616c23b5so31836215e9.0 for ; Tue, 19 Nov 2024 06:23:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732026210; x=1732631010; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=sgmkEh/mAYEEOBGITS2M+Q2muX4d/fOxHqnXuvoWYiU=; b=JHIaIC79/9Id0urll+seoq/Ihz7NwgJDA7sY26LyCIMq+3iRSAAkHXM/XrncUo0wvt hv0OpN66eVW5Qa1efJTj/tYEcfYveIs+W9yz2OIUASAqOro9o6r6tW/HgwoB84znOCZ8 QWWGHwvaL32FI3/ld3Y3h/XNmyBVea+PdyH34TPjvGsZKzzqJ2NJfDOLqd7xnhamqRZG 8EF/MRiUsDrbn0pR+5yv3K4FnByiKP8rWbohR3IHWxj2HVhS1NR9qLfHi+TQNAvAkgHt npA9TFujGkpXA4pvDJqIoNjhRazZHqU1KgR+W1VDVWDh9xrhAuWCiGUqEtA56Pve+4Rc F4gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732026210; x=1732631010; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sgmkEh/mAYEEOBGITS2M+Q2muX4d/fOxHqnXuvoWYiU=; b=gi+jKTgiPTxEUboin+r23O9C6fDeUd23VRLpuvm4SjXiBKrXHYuuSFqFrffUHuk9tO Bh7aHSKWGS9a4UoN51eCE7gImJ6+JmGGRSwBEVWOO6nFJdFuHYQXzTo+ddwTpR4gny/b hMw0dIwF70xp6J4fmAIaLP3lF+kndCSH5fs4Ybu0z3VqiMMEer3cFHzG7Z99jZVPI1f6 UEwprbB5DmGAs1PA23RI1l//A1vcozIemJCpfaDhH3Um+jWWR/aiDutPivW3fJsb1EXL p95H1VFyOh0tK5rEnde4GIiiEqNrGEmEyCeN9co23MH6b+72w0R6zjF/SFQUla+xBZhr a2TA== X-Gm-Message-State: AOJu0YyVOSIi9iNTKp2jIHqBs+qD1JfSX0IqM/3W9/N25qfL+z2Dh8FY o34CchKpn4qY8q0hV6G3cvRDnhwFNAfiVgIFAQlaeL5E8EM9+5GA2/uDmWJ0kLEau2UaMS23atf Y X-Received: by 2002:a05:600c:3d8d:b0:431:4fbd:f571 with SMTP id 5b1f17b1804b1-432f57dfa69mr29987525e9.13.1732026210649; Tue, 19 Nov 2024 06:23:30 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432dac21a15sm193049985e9.38.2024.11.19.06.23.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Nov 2024 06:23:30 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 14/15] target/arm/hvf: Add trace.h header Date: Tue, 19 Nov 2024 14:23:20 +0000 Message-Id: <20241119142321.1853732-15-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241119142321.1853732-1-peter.maydell@linaro.org> References: <20241119142321.1853732-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x330.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org The documentation for trace events says that every subdirectory which has trace events should have a trace.h header, whose only content is an include of the trace/trace-.h file. When we added the trace events in target/arm/hvf/ we forgot to create this file and instead hvf.c directly includes trace/trace-target_arm_hvf.h. Create the standard trace.h file to bring this into line with the convention. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-id: 20241108162909.4080314-3-peter.maydell@linaro.org --- target/arm/hvf/trace.h | 1 + target/arm/hvf/hvf.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 target/arm/hvf/trace.h diff --git a/target/arm/hvf/trace.h b/target/arm/hvf/trace.h new file mode 100644 index 00000000000..04a19c1d752 --- /dev/null +++ b/target/arm/hvf/trace.h @@ -0,0 +1 @@ +#include "trace/trace-target_arm_hvf.h" diff --git a/target/arm/hvf/hvf.c b/target/arm/hvf/hvf.c index 6cea483d422..ca7ea92774a 100644 --- a/target/arm/hvf/hvf.c +++ b/target/arm/hvf/hvf.c @@ -31,7 +31,7 @@ #include "target/arm/internals.h" #include "target/arm/multiprocessing.h" #include "target/arm/gtimer.h" -#include "trace/trace-target_arm_hvf.h" +#include "trace.h" #include "migration/vmstate.h" #include "gdbstub/enums.h"