From patchwork Fri Oct 5 15:49:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 148198 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp615382lji; Fri, 5 Oct 2018 08:53:08 -0700 (PDT) X-Google-Smtp-Source: ACcGV62nShdm1vBNSAUolz9dtwivW4sdTBVDQr57CcW5XR1hQ1UwydhX4jxTCHO3+A+CiXjHNFBp X-Received: by 2002:aed:3c93:: with SMTP id d19-v6mr9873451qtf.5.1538754788152; Fri, 05 Oct 2018 08:53:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538754788; cv=none; d=google.com; s=arc-20160816; b=ut/oV+wXp4XBXBtYs0jOacikKV0FSS8c8pHtAzQD5beJKqfUZ4FazsfG+7Xk2+GDCH uCa/lUfMqJ0inZa4zy0qk53RaLKqJxGD27NQ23ezTyD7GnI02vSOL6QSpLMIrtlZyAnf 6MoXa0uHXwQESwe8TKkIr0yaJSoSO9bZ7Q5S0aGS2P6yLK/eOzcL1Na3qz3UvuupdGrV bf6Y0cu/k79qLVW7yuJHuHkI8QiEbH6RWC4lTSvKgE9vVfQf4yphllFpu2rXdr5eOxv6 tDbyuk+Kgb+tKfhJLHilUO8L/SofnSIEUCAohBZ9YZpIXYfZCRJ4fzU3oWKkW7Pbm5qo /BDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=GjGP0EM9heu1MZGg3W+sxz/ZmZ1i65YzU86L6brQu3Q=; b=fmZkaTnZIQOSgsXNgiBFX7W4XHIl/Ly/y7UamOakoYS8NfCcY0d8K/tdYiDVU+3v0e /0rsRTc34ai+kj6Zy7tRufnCccXFE2EJH3HPn2CoTgrTwMTXuSidp/RFCkL2l9DuEc/+ km8lx4YEVp9Wnxh4YnUqXXNLnsRnH6KcZAQq+9NtSOvVrIscvaaDTfkDZWaDc9fa1TnK eCf0BWya2Cr877fhRkS5drsYKoiSabmkdCOYYk+VU4/o+fKxBCnHlDnR7c8OBQO2AlQd ZzdLBBPK0NKI8mx6DoQxmuj+Vdo5p1K2a7MZWo2DWgVJjJwRbo2ro79alozbYBY3yHUg unBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=fwWPi6LD; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id d2-v6si5893170qtk.102.2018.10.05.08.53.07 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 05 Oct 2018 08:53:08 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=fwWPi6LD; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:35711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8SPb-0002JT-J2 for patch@linaro.org; Fri, 05 Oct 2018 11:53:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8SM9-0006ZA-CU for qemu-devel@nongnu.org; Fri, 05 Oct 2018 11:49:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g8SM8-0006Bd-5R for qemu-devel@nongnu.org; Fri, 05 Oct 2018 11:49:33 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:43517) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g8SM7-00065p-NX for qemu-devel@nongnu.org; Fri, 05 Oct 2018 11:49:31 -0400 Received: by mail-wr1-x431.google.com with SMTP id n1-v6so14043191wrt.10 for ; Fri, 05 Oct 2018 08:49:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GjGP0EM9heu1MZGg3W+sxz/ZmZ1i65YzU86L6brQu3Q=; b=fwWPi6LDvSAQmqTvmDviweUG4sArJknVKmbELUmnuUOikWDuAeEnA2Hb7DdQT+8+oA 8a9Gpl25vEA5YWsOOmkb09+obVhptICTII2wZu8u5+IW2xOy9Bh5cQjMNmGB8mBzukbZ zSH1ZehtXTw8UQhDCNN2ARGOAH3pgOjlkVRyg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GjGP0EM9heu1MZGg3W+sxz/ZmZ1i65YzU86L6brQu3Q=; b=fFsVPU6COKWhcgM+pXgmAIjARYEwzvQtxwa8qWAWQP/TM85ludHiX762HROcInmVNp f9uBu6ZBpIIkBp4NNAAT9OtLBmer+B1qean9eR+uqtoYl+rOTQLa2suc4YeBRSWZCc12 lLwQCC/t3bFUkWqQn5ACCtBMLbVTP2R7SCOOlzN113tUUCsP0iuzw39yOx/G1OI6gB2c FdA1b6ag2LrzbUrcX9ADjIMQPG6YfQfLKxmLdRowDHZoN5LJDZkoln8z6sQ/TJ1xQcts wEgpMkGXlt97kUx9W4IuYg7vf1cUiPM1kE+O7ca7WbdyOfBi6byR73e45IGZ4J5+LP+P EkSw== X-Gm-Message-State: ABuFfoiqubrgTR9UBpdWVCLF+JRESuoh0DpUGcKDm910C+aWjn14n5FC Qr2fJq7serKqJ+fgWEBD+LJhqw== X-Received: by 2002:adf:ab13:: with SMTP id q19-v6mr8426790wrc.62.1538754563928; Fri, 05 Oct 2018 08:49:23 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id y125-v6sm1716470wme.12.2018.10.05.08.49.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Oct 2018 08:49:19 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id A7B213E069A; Fri, 5 Oct 2018 16:49:11 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Fri, 5 Oct 2018 16:49:01 +0100 Message-Id: <20181005154910.3099-13-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181005154910.3099-1-alex.bennee@linaro.org> References: <20181005154910.3099-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::431 Subject: [Qemu-devel] [RFC PATCH 12/21] configure: expose a plugin to the trace-backends X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: cota@braap.org, =?utf-8?q?Alex_Benn=C3=A9e?= , vilanova@ac.upc.edu, Pavel.Dovgaluk@ispras.ru Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" We also enable gmodule support for use with plugins. Signed-off-by: Alex Bennée --- configure | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.17.1 Reviewed-by: Richard Henderson diff --git a/configure b/configure index f3d4b799a5..87d71bbdcd 100755 --- a/configure +++ b/configure @@ -3513,6 +3513,9 @@ glib_modules=gthread-2.0 if test "$modules" = yes; then glib_modules="$glib_modules gmodule-export-2.0" fi +if have_backend "plugin"; then + glib_modules="$glib_modules gmodule-2.0" +fi # This workaround is required due to a bug in pkg-config file for glib as it # doesn't define GLIB_STATIC_COMPILATION for pkg-config --static @@ -6793,6 +6796,9 @@ if have_backend "syslog"; then feature_not_found "syslog(trace backend)" "syslog not available" fi fi +if have_backend "plugin"; then + echo "CONFIG_TRACE_PLUGIN=y" >> $config_host_mak +fi echo "CONFIG_TRACE_FILE=$trace_file" >> $config_host_mak if test "$rdma" = "yes" ; then