From nobody Thu May 2 14:36:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1579166124; cv=none; d=zohomail.com; s=zohoarc; b=dntZ+uMqPtvmA7D6u4Nb5dlKeOUYpRGkUkK9HFNXNRVi2MM/ClaKfNH3TD/tZETCC4TcFRUu34rTdkfTjG7iZuYzelzIy9/sSG/CMxuuTI593dwYJXMvt1Y4aLoUxb46GDrfWpUAKLhIqp91i+YltryCvUAwblm4MvhrQldQceA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1579166124; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=/UpAN3DhoJ3BUGURReP4AJ8K6hzzG8vCFofr0nVySu8=; b=J45+R9efRSyHRGPLR+nPT8jhKJp2gBaT7WbPRIfIpRWo4KHezRwgSFG/HGNNHtQ7w8NfzPZDBg5Ocr7W2hjLi4Ae3m83na2uRZ1LRD/ZUZ0fjqoi0JsEuBPELz1ZqMsBC4poT3v8zHB63Fs6jQ1pycrYf+Hr12aQJOlS9RO2Nbs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1579166124829452.95887968799457; Thu, 16 Jan 2020 01:15:24 -0800 (PST) Received: from localhost ([::1]:38816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1is1FL-0003cZ-OP for importer@patchew.org; Thu, 16 Jan 2020 04:15:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36190) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1is1Db-00022x-S6 for qemu-devel@nongnu.org; Thu, 16 Jan 2020 04:13:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1is1DY-0002Xv-2b for qemu-devel@nongnu.org; Thu, 16 Jan 2020 04:13:35 -0500 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:34717 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1is1DX-0002XW-VT for qemu-devel@nongnu.org; Thu, 16 Jan 2020 04:13:32 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-108-WUlVjE-HM3WgwypU-RxD3w-1; Thu, 16 Jan 2020 04:13:26 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E0F29800A02; Thu, 16 Jan 2020 09:13:24 +0000 (UTC) Received: from x1w.redhat.com (ovpn-205-187.brq.redhat.com [10.40.205.187]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0E1B888894; Thu, 16 Jan 2020 09:13:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579166011; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/UpAN3DhoJ3BUGURReP4AJ8K6hzzG8vCFofr0nVySu8=; b=QJUc1j7azezACEY2c/mf1ZdnvRBM+qhsEvjD6HlrEgG5BS8K4V92HazbZTFwFkVFEZo8We PMwUdDHPaENwnQ/LZg3sI2znV5knHwb57uqawMjfUNXOIBZwPERQApxsKDC1uX9mGqUdKI R/T3VJVPO46kARkgfzsqReqTg0UiM7c= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH] Makefile: Keep trace-events-subdirs ordered Date: Thu, 16 Jan 2020 10:13:14 +0100 Message-Id: <20200116091314.25024-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-MC-Unique: WUlVjE-HM3WgwypU-RxD3w-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 205.139.110.61 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Damien Hedde , Laurent Vivier , qemu-trivial@nongnu.org, Alexey Kardashevskiy , Stefan Hajnoczi , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" To ease review and reduce likelihood of merge failures (see [*]), keep trace-events-subdirs ordered when possible, following eb7ccb3c0. [*] https://www.mail-archive.com/qemu-devel@nongnu.org/msg671007.html Duplicate trace-events-subdirs entries generates duplicated symbols when using the LTTng Userspace Tracer library. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Damien Hedde --- "Fixes: 26b8e6dc & 8d5d515a0" To be even safer we should use $(sort $(trace-events-subdirs)) --- Makefile.objs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.objs b/Makefile.objs index 7c1e50f9d6..d62f908965 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -142,8 +142,8 @@ trace-events-subdirs +=3D nbd trace-events-subdirs +=3D scsi endif ifeq ($(CONFIG_SOFTMMU),y) -trace-events-subdirs +=3D chardev trace-events-subdirs +=3D audio +trace-events-subdirs +=3D chardev trace-events-subdirs +=3D hw/9pfs trace-events-subdirs +=3D hw/acpi trace-events-subdirs +=3D hw/alpha @@ -191,6 +191,7 @@ trace-events-subdirs +=3D migration trace-events-subdirs +=3D net trace-events-subdirs +=3D ui endif +trace-events-subdirs +=3D hw/core trace-events-subdirs +=3D hw/display trace-events-subdirs +=3D qapi trace-events-subdirs +=3D qom @@ -203,7 +204,6 @@ trace-events-subdirs +=3D target/riscv trace-events-subdirs +=3D target/s390x trace-events-subdirs +=3D target/sparc trace-events-subdirs +=3D util -trace-events-subdirs +=3D hw/core =20 trace-events-files =3D $(SRC_PATH)/trace-events $(trace-events-subdirs:%= =3D$(SRC_PATH)/%/trace-events) =20 --=20 2.21.1