Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp17983828ybl; Thu, 2 Jan 2020 16:11:15 -0800 (PST) X-Google-Smtp-Source: APXvYqwOtkhjl/DuE4tG9o8ic9ENYPi9WhlkWCsxe6l4lbdvpXW85y4p/V9b7duyrEqOvbRVxtu/ X-Received: by 2002:a9d:5e93:: with SMTP id f19mr37065381otl.121.1578010274914; Thu, 02 Jan 2020 16:11:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578010274; cv=none; d=google.com; s=arc-20160816; b=FwmvXwr5ASEJvbnc//AwDiCWmLOoCsl6ijOPnovO0z+sHS77cUAJGB/WcqV1wP2Cdi lMqoQcXEZUeBBwPzQ1PdIjPIB6mOkLotTkepXP8kLgcUFJDHm1q8Rvj61eYn57NjExCU 0ialpdULH6SvF6KEbRJDOc8UMq60m3fTos4Hnnz1rgUmiQ1YmQyRlJFXGfmvV2vaix9h H3YpiyYuA2FTlIJZbhPhcKWR8xd6Fck8GKdim3FE8rgoHIkSOwyJzp4JRlAIRXBLxoAp y1h2xjpMm7oMrlr8B3eOvNSg079BFFuKp0/DTT7dpuEkDEacz/9299qIsoDS9jBm4T8q CDvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=bRZSWQpjcGsFr1nunRoPIXJIpIMdhiOb1sBFIf72vwo=; b=FTFKsMyoiJ0Jfovsouxa8uMFJkMfyOaGTrKMxMdrZpUmqdzsZ4fzGXu6T5azLlgmLU /xIYM/WBPrRAKhvSNYJDF3xrVwq917NBFCgy5vOmUOYAFDdWZybK3vpD/b/8/J3fRAUf dQoDg/oEdZS6myNS/vkyGamHDJ/k7wDz1TVhP49cNOZjHYoZ7gloz+WkZH8TaKxnjql5 LqusZtpxzH1jsuWHhFwlujO/4UrnKcBdNdrRNA1URnhpmQZE6OLDEkLv7Z1JrlFywix+ ogt8qAq57RIUNKeNGTsikJZl9nOqfkXPs+QDb5HAEwSpSj+YwOTHxFmluT8GERPQgWVM hq6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N7HCR8OM; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h20si14162379otn.253.2020.01.02.16.11.02; Thu, 02 Jan 2020 16:11:14 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N7HCR8OM; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726654AbgACAKU (ORCPT + 99 others); Thu, 2 Jan 2020 19:10:20 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:43520 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726089AbgACAKU (ORCPT ); Thu, 2 Jan 2020 19:10:20 -0500 Received: by mail-ot1-f68.google.com with SMTP id p8so22652894oth.10; Thu, 02 Jan 2020 16:10:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bRZSWQpjcGsFr1nunRoPIXJIpIMdhiOb1sBFIf72vwo=; b=N7HCR8OM7zTKC/Tlgu42uvwTRCU/25OFIZjdc/afojVtORETOFIz3/HFfGbYYCnkJX EOgNX9/40QUyartjTjXhA735EuDZNatW7hMOAK/4VPO82lRiPd7Hjt8CXmDuDcYqxmdZ cDNoGocpXsJL504iwcJ3DNIBrliF2o1MMu7zS0AMO2sn/GAXttbCCjFFJQ6Ztes2hTFD Hu9V75q3O46hmy6bXJgpiPzDxYwZ9SAukDvKOa+nvSLhGRMWvYZphb6ILlziHEf/UI8J h9KRoN592wKsr746n+9vOPFBAcaHha8D+3q3yqruv/cLRbuhQ4q2YFQT6ltIicTsG3mG Yicw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bRZSWQpjcGsFr1nunRoPIXJIpIMdhiOb1sBFIf72vwo=; b=AFgmbLMT+qTKPTZW4xyZkiPqCG49VdM1BjrfcEWhJQfF04N/76NSM1CsT3d9V+yJ4o Ptgvp49GMNFBB0KRsYh32hs4q5902SP4mr14p5uZAjoAssZEJD0NexYv2p0eI7mpR7RE eyBE7HORZNhKlDddXDJHJ9yeo3zl12Z7HX9nhd+hPg25OigylWvhimIbl2oFhUeBC6yy cGNmPyWe3iv9AM6DY6ZOsH273us5wno5NEsy7wx5odKKwyEzpam0zcRPCHzlYYeoM9TX RtOlow71nURAJd+zJVf7xgkfvDQpvWxWP2O8RqGqVhflwvVz68TuIeF2wNAmstmLGatm Aq6Q== X-Gm-Message-State: APjAAAWOIRpmO4suaiVi4Olg0VYFWiQ4mYGA6Nk1PUH9Q1NZCFRbxzLx Den1RuwSlplNM6FTMPq/geS/4moLZKnjntOrUgU= X-Received: by 2002:a9d:6181:: with SMTP id g1mr97920833otk.104.1578010219697; Thu, 02 Jan 2020 16:10:19 -0800 (PST) MIME-Version: 1.0 References: <20200102122004.216c85da@gandalf.local.home> <20200102234950.GA14768@krava> <20200102185853.0ed433e4@gandalf.local.home> In-Reply-To: <20200102185853.0ed433e4@gandalf.local.home> From: Sudip Mukherjee Date: Fri, 3 Jan 2020 00:09:43 +0000 Message-ID: Subject: Re: [RFC] tools lib traceevent: How to do library versioning being in the Linux kernel source? To: Steven Rostedt , Ben Hutchings Cc: Jiri Olsa , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Masami Hiramatsu , Linux Trace Devel , LKML , Linus Torvalds Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 2, 2020 at 11:58 PM Steven Rostedt wrote: > > On Fri, 3 Jan 2020 00:49:50 +0100 > Jiri Olsa wrote: > > > > Should we move libtraceevent into a stand alone git repo (on > > > kernel.org), that can have tags and branches specifically for it? We > > > can keep a copy in the Linux source tree for perf to use till it > > > > so libbpf 'moved' for this reason to github repo, > > but keeping the kernel as the true/first source, > > and updating github repo when release is ready > > > > libbpf github repo is then source for fedora (and others) > > package > > Ah, so perhaps I should follow this? I could keep it a kernel.org repo > (as I rather have it there anyway). Debian is building libbpf from kernel tree. > > We can have the tools/lib/traceevent be the main source, but then just > copy it to the stand alone for releases. > > Sudip, would this work for you too? (and yes, I plan on acking that > patch for the -ldl change, after looking at it a little bit more). If it moves to a separate repo then I guess we will need to move it out of the debian kernel and create a separate package. Might be better if we do for libbpf also. (Adding Ben). Ben? -- Regards Sudip