Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp21641780ybl; Mon, 6 Jan 2020 08:27:34 -0800 (PST) X-Google-Smtp-Source: APXvYqwID8ZB/ShbiYyRB1ZJcp/caTdg3M646bwur9lHt1CDbJ+NdPuH6xfW32IftQ1+hFAIjJQM X-Received: by 2002:a9d:7410:: with SMTP id n16mr104836007otk.23.1578328053914; Mon, 06 Jan 2020 08:27:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578328053; cv=none; d=google.com; s=arc-20160816; b=utP7nWP38oIv6XdfcrNY71U+UcJ5GK2GHu32noOMzHYdBo4P37F6VhUm2DUoa3HCbB uUo0MtPUR9qadbCK2VNznsjyA6ytoOYikH0l24HDHzFp/rgcgSTj/S6RII4PzvBAgP/b VFkCS21n+hG7Ck38qTgAXAzLbu420HC4Kaqwm08JQglshLlXOPGTML3DTqRzPO+yscLU lp5lQzbomCO91YzB/FCywOqVNSAXsSxl0Jd0Iu38mj13p+TaZJgLRYB39wds+QKPPHTj GQtUD+8HYzQ3qSaih6OQt34M+ZBThXuTxKYW6DR+Q1DONvzPU1YY/TZOSlJq9j6npucT wy5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:date:from :dkim-signature; bh=JQtEouoO14ibFdu5R0ExtR9RU4wVGRzBfAmbFruyaUA=; b=a66t6wPDsAX5d8vK49lgrq08MmOsu1lT+0RUxOd9HzmkvkI/gB5es1ES1CsIWfpfaG CLkUet+nl5BSfCwOEzH6BjFYU4pc/sIkKBcGnG5CNMzf6bZS86rsNbRQ7D9s0JQr0x1W uCsEQ+XOS+nccdFmZ3VmO76N6p998lTVsA7yWuYd08ecfOwRkw8o37c7VVSMds6+JrPF Mq9IPPku6dzkKRSZv4bOjtQMZUYMJcde59AM4b3ziRRkqKKU0vQPcCAIjenM6rLzB3jk aBmUBdgnWovgFR6VPV/PyH8b8mar4iOraGDW3UVhHVhG5zFa/SKsVJAJEPljn9iE54Wu nNTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lsqGs8Ee; 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 k21si30276853otr.1.2020.01.06.08.27.21; Mon, 06 Jan 2020 08:27:33 -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=lsqGs8Ee; 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 S1726698AbgAFQ01 (ORCPT + 99 others); Mon, 6 Jan 2020 11:26:27 -0500 Received: from mail-qk1-f196.google.com ([209.85.222.196]:33668 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726540AbgAFQ01 (ORCPT ); Mon, 6 Jan 2020 11:26:27 -0500 Received: by mail-qk1-f196.google.com with SMTP id d71so32070008qkc.0; Mon, 06 Jan 2020 08:26:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=JQtEouoO14ibFdu5R0ExtR9RU4wVGRzBfAmbFruyaUA=; b=lsqGs8EeesC12VRJVQx6YbN9hunSXuCn1drlRK4CMOlEpjymNwTXoZPhVtdAu9W68a g/6D0I0VDQbU0+0cBscdlRHLYxX1GiES5hDJl9A7NI4DuRjE5joFsdCh3kmBZJDLa6qv eqmoz5OJEPgtMBXpWZxhpzMP3b/Pb6mHJ1Qeg4Drzpxs3kfddkhGXTJPYU637rkXcIHC gMtiLP52kppQjBrGoQCXSWPZW2xxC5hYczQ+btKqZpdjzvdGCuJ3Ok/xtaQVa7xvCw03 +HCuY0b/rE0w5nA87S2l8EXtTIx25o3tCpge8IDI9DpdU4yyjZZYjvCb4QXEhe1M5c2/ V1QQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=JQtEouoO14ibFdu5R0ExtR9RU4wVGRzBfAmbFruyaUA=; b=dTZ4zIrUg21sq/9AY3Vqo6sNELprk6mtiRH9/qk8FtxQLqt9CNh5kx4x//DGk829qz HEL5QWeGDKbUKUJikvwPSUjtaXLfzN2vyzTvyYgyJrOMahv6vy63oIqwIfYwJPSozgOh vJIqQJROUoLJwWelQ8qZotEJRmvbyCiVBYKyyI3WYegNMvVQtAYxX8qYvxXr2ERQ7XMQ K7U/Auiqzm/GY8OHnGEe54yDDXwT/HefZKTj+nZxMKraTSdDmMRuNerD65HIeXMmlXwG l9uGyxp6XxFYUuPpBuganJYz6oSm0qffOUu7k47NFfMDo/OGsZR4oXKi74RyacGopihq Dodg== X-Gm-Message-State: APjAAAV8BRhwVI39Hwp69/9AY5DS0liBXkOjNIWa+eznZPspqDEwBYa1 BzKa6ZPVCay6ePC2JaVuSYM= X-Received: by 2002:a37:ad0e:: with SMTP id f14mr72323328qkm.213.1578327986104; Mon, 06 Jan 2020 08:26:26 -0800 (PST) Received: from quaco.ghostprotocols.net ([179.97.35.50]) by smtp.gmail.com with ESMTPSA id s26sm15805987qtc.43.2020.01.06.08.26.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2020 08:26:25 -0800 (PST) From: Arnaldo Carvalho de Melo X-Google-Original-From: Arnaldo Carvalho de Melo Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 56B3F40DFD; Mon, 6 Jan 2020 13:26:23 -0300 (-03) Date: Mon, 6 Jan 2020 13:26:23 -0300 To: Jiri Olsa Cc: Steven Rostedt , Sudip Mukherjee , Ingo Molnar , Namhyung Kim , Masami Hiramatsu , Linux Trace Devel , LKML , Linus Torvalds , Konstantin Ryabitsev , users@linux.kernel.org Subject: Re: [RFC] tools lib traceevent: How to do library versioning being in the Linux kernel source? Message-ID: <20200106162623.GA11285@kernel.org> References: <20200102122004.216c85da@gandalf.local.home> <20200102234950.GA14768@krava> <20200102185853.0ed433e4@gandalf.local.home> <20200103133640.GD9715@krava> <20200103181614.7aa37f6d@gandalf.local.home> <20200106151902.GB236146@krava> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200106151902.GB236146@krava> X-Url: http://acmel.wordpress.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Mon, Jan 06, 2020 at 04:19:02PM +0100, Jiri Olsa escreveu: > On Fri, Jan 03, 2020 at 06:16:14PM -0500, Steven Rostedt wrote: > > > > [ Added Konstantin and kernel.org users mailing list ] > > > > On Fri, 3 Jan 2020 14:36:40 +0100 > > Jiri Olsa wrote: > > > > > On Thu, Jan 02, 2020 at 06:58:53PM -0500, 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). > > > > > > sounds good, and if it works out, we'll follow you with libperf :-) > > > > > > if you want to check on the libbpf: > > > https://github.com/libbpf/libbpf > > > > > > there might be some syncs scripts worth checking > > > > I wonder if there should be a: > > > > git://git.kernel.org/pub/scm/utils/lib/ > > > > directory to have: > > > > git://git.kernel.org/pub/scm/utils/lib/traceevent/ > > git://git.kernel.org/pub/scm/utils/lib/libbpf/ > > git://git.kernel.org/pub/scm/utils/lib/libperf/ > > we could loose the 'lib' and just have: > > git://git.kernel.org/pub/scm/utils/lib/perf/ So, we have: https://www.kernel.org/pub/linux/kernel/tools/perf/ trying to mimic the kernel sources tree structure, so perhaps we could have: https://www.kernel.org/pub/linux/kernel/tools/lib/{perf,traceevent}/ To continue that directory tree mirror? > > That could hold the libraries that are tight to the kernel? > I don't think libbpf will change now after they are settled in github, > but we could consider this for libperf > > jirka -- - Arnaldo