Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7941700imu; Mon, 3 Dec 2018 23:33:46 -0800 (PST) X-Google-Smtp-Source: AFSGD/VdZK6JyHRIjxa9JjIeIGe+mfKzU4w5VMFL3Osj/pZ8kBjPLtItmIqEta5lT2ZXoBNVHBcR X-Received: by 2002:a17:902:29ab:: with SMTP id h40mr18884994plb.238.1543908825969; Mon, 03 Dec 2018 23:33:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543908825; cv=none; d=google.com; s=arc-20160816; b=UNjQp25nVa6zP0ih2PBbuRe5wo7goPLTZNOmFAvaBnShZnIq7ifh1KBlQKBMBNkgVR gdQCJFtEX8CClqDUXqB4POGJSUzMT9094pgVpsYfJ52uiFJYQAr+sticBf6SUrmUYsW/ xBVQc3ND2qSANJ0zkSEBvlIpb7clKINgMs50Ndi9MD2dd7JQ9WGiDzpALg7tjT0D5B5m +DoLPzMgeLdYxAZx3ulw0lMazagGZ69Pi4v5KHkW8a5UzEig1uNcKtFjwpDQgo5Bk4k/ Vrd0KYaRVhojTBL+cNM8ZVF/XcdCl0zr3OI1EgtPkJa7Mws3kfBzT0jEUoOxKXDXGSAR NLKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=my2O0RrpGGiYnqvtKchzX43Lh7txQkywFlo0Jo+RN84=; b=OyvRAsWMoaSd0LSHvne8yNHm8DZCUyLfbyBXW163bPErvd8K2KgsCWSuVBljNtplY7 TwBdF48VR6Fh29wFMQuK6rxLGriJc/QptfpOHhOEfipsbx/FGKvT2dtP5D5t1eUay2yP zYKkyJM5IAprS2Xq/x0/DFMR3ZK724NLg9R6qbTLCfwp7NWuT51z+f5GpEhI4je6ggVJ ulS9QfX0MIAjDUc/8nXch1z96CwYitDHIDHFCB1eLq0k4n2uBL3OstTVclpvxf/Sa3r8 W7kjJaOcAr1nZwWqhkcCPKQdHeDuE9vjdA5CqZ7PmNI+WNiPscyocrAgLlDcoelrMCYh Bauw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e8si14227851pgn.325.2018.12.03.23.33.30; Mon, 03 Dec 2018 23:33:45 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726036AbeLDHch (ORCPT + 99 others); Tue, 4 Dec 2018 02:32:37 -0500 Received: from lgeamrelo11.lge.com ([156.147.23.51]:36300 "EHLO lgeamrelo11.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725994AbeLDHch (ORCPT ); Tue, 4 Dec 2018 02:32:37 -0500 Received: from unknown (HELO lgeamrelo04.lge.com) (156.147.1.127) by 156.147.23.51 with ESMTP; 4 Dec 2018 16:32:35 +0900 X-Original-SENDERIP: 156.147.1.127 X-Original-MAILFROM: namhyung@kernel.org Received: from unknown (HELO sejong) (10.177.227.17) by 156.147.1.127 with ESMTP; 4 Dec 2018 16:32:35 +0900 X-Original-SENDERIP: 10.177.227.17 X-Original-MAILFROM: namhyung@kernel.org Date: Tue, 4 Dec 2018 16:32:35 +0900 From: Namhyung Kim To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo , Ingo Molnar , Jiri Olsa , Andrew Morton , Tzvetomir Stoyanov , kernel-team@lge.com Subject: Re: [PATCH 2/9] tools/lib/traceevent: Added support for pkg-config Message-ID: <20181204073235.GB16733@sejong> References: <20181130154403.150474900@goodmis.org> <20181130154647.022471992@goodmis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181130154647.022471992@goodmis.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Steve, On Fri, Nov 30, 2018 at 10:44:05AM -0500, Steven Rostedt wrote: > From: Tzvetomir Stoyanov > > This patch implements integration with pkg-config framework. > pkg-config can be used by the library users to determine > required CFLAGS and LDFLAGS in order to use the library > > Signed-off-by: Tzvetomir Stoyanov > Signed-off-by: Steven Rostedt (VMware) > --- [SNIP] > diff --git a/tools/lib/traceevent/libtraceevent.pc.template b/tools/lib/traceevent/libtraceevent.pc.template > new file mode 100644 > index 000000000000..42e4d6cb6b9e > --- /dev/null > +++ b/tools/lib/traceevent/libtraceevent.pc.template > @@ -0,0 +1,10 @@ > +prefix=INSTALL_PREFIX > +libdir=${prefix}/lib64 Don't we care 32-bit systems anymore? :) Thanks, Namhyung > +includedir=${prefix}/include/traceevent > + > +Name: libtraceevent > +URL: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > +Description: Linux kernel trace event library > +Version: LIB_VERSION > +Cflags: -I${includedir} > +Libs: -L${libdir} -ltraceevent > -- > 2.19.1 > >