Received: by 10.223.176.5 with SMTP id f5csp732873wra; Wed, 7 Feb 2018 06:42:12 -0800 (PST) X-Google-Smtp-Source: AH8x227gg45uMd7n9prJ2TUZnEenz0DxThVg4VBB8p+mNl2FsVJPZs6xcVjsFDsWnlzetZscQo5X X-Received: by 10.98.210.134 with SMTP id c128mr4183247pfg.199.1518014532587; Wed, 07 Feb 2018 06:42:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518014532; cv=none; d=google.com; s=arc-20160816; b=W/g9Nn3T8nRydKLxIkI/d2N0Ho0TshmUarotZoXLHckvEOgFQD1mbZ03oyu6T+6eaw ffM5vsu02gK7OQxlXX4lH82xEMuje4J2NkIQ6PWEikVG9trqAxpa/AQ5Oix7jbODlqCr mjj6JftlB54LxBjH97weL2W8BW7YwUC4h0yGDYXVc9nVx9clyS9C5bqRVkGW5GnUrcws BI1Y3aRDBym2jcMtWQALNyqkDnm0gJOPSqNyYrp3BF+MOY3UHoGVg+t6scLETNe8V1XV xHVCF6jSG3NH/0IuWfQTSgZtOUa9Dxbc7MYQ+C3YPMMght/goGnusYch4bw95ASLdgEl 8fZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dmarc-filter:arc-authentication-results; bh=55IhUf2AJlJp55xxqFKf/cnGsukQAAwaWvlHDDAM34g=; b=sn8CncnBsuve2NsSVPHeu94TQKMKb5zs2z9WtkFhrzUl+OINxdFmcbp5Z6mr+wUXD6 Ce2Y3rq1avMPbD0RIi+xtoQ1X9e0HSbXNWIJtgX898fFEU6aIs5TV88AKaq78lVcuVS8 EhWmRX2w8F2hwZozSrvoSFyTO5hi5Gh2I69axsBZDvPgocTVUMJF+RaOa/pO2YLtg+At Yl/osnlXMjbzV+OZG99qaFr3xSAlCSXCGqSWlfkhtjRDzk52RkbMzNbu7VjJ+EXcFnSo yBkB/5ADxRhxNSYBhI0kUBwWwedN1vm4FN/vaj+gdLfl0Frj3WoveI41yP6vKh9zKpgl u9kw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si1159786plh.549.2018.02.07.06.41.58; Wed, 07 Feb 2018 06:42:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932105AbeBGOkb (ORCPT + 99 others); Wed, 7 Feb 2018 09:40:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:52230 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754291AbeBGOka (ORCPT ); Wed, 7 Feb 2018 09:40:30 -0500 Received: from gandalf.local.home (cpe-172-100-180-131.stny.res.rr.com [172.100.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5B37C21789; Wed, 7 Feb 2018 14:40:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5B37C21789 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=rostedt@goodmis.org Date: Wed, 7 Feb 2018 09:40:17 -0500 From: Steven Rostedt To: Zamir SUN Cc: Vladislav Valtchev , johannes.berg@intel.com, johannes@sipsolutions.net, linux-kernel@vger.kernel.org, zsun@redhat.com Subject: Re: [PATCH 1/2] trace-cmd: Fix the detection for swig Message-ID: <20180207094017.5a130e6a@gandalf.local.home> In-Reply-To: References: <20180204032014.6962-1-sztsian@gmail.com> <20180204032014.6962-2-sztsian@gmail.com> <20180206181807.2d35393e@gandalf.local.home> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 7 Feb 2018 22:01:46 +0800 Zamir SUN wrote: > Thanks for the heads-up! I did not see that before. > > While just a note for this, in Fedora 27: > > $ if command -v swig; then echo 1; else echo 0; fi > /usr/bin/swig > 1 > > Actually this test has the same problem as of `which swig` - When swig > exists, the var SWIG_DEFINED will not be 1 (as shown above). > > I see Vladislav is already on this thread. I hope this can be fixed > before merging the patch set. > After doing some more testing, I'm going to push out the changes today. Would you be able to add patches on top of the changes? We are doing a restructuring of the directory such that it can grow more. I'll be backporting these fixes to 2.6 and 2.7 as well. Thanks! -- Steve