Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp20548716ybl; Sun, 5 Jan 2020 05:19:12 -0800 (PST) X-Google-Smtp-Source: APXvYqwyQjtyClDxl/ayVO3nCnKerhQXiZOHHh86ae/E0HwvzJs52ok+qQFSh6Dh7G6BG/THGKQd X-Received: by 2002:a9d:e83:: with SMTP id 3mr14594881otj.218.1578230352285; Sun, 05 Jan 2020 05:19:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578230352; cv=none; d=google.com; s=arc-20160816; b=Fd4BhLRg4LneTqVXti99E5WqPknsgVuC9LorwrYslw7pgc0nQ3TLOTqvkozAre/VXJ EAHHWrlUHsHW8WCgL0WVvJ5Ed5WMHmJjh0vSp7T1nUrjF9p4gIjkF+PS78R7pgTJay1Y sVp6fEiw0qsZCIFGkzhVeO7v5z2lwbCYSeuebkCu9kwH6zpEqy68K/to+zKjoJGp/IIW /bEgIVuE3QfVCjz1dkKkQ5vOBVWxZ7sshmG21wBFjbnZiCxNd5H14HDwT0mQxEBhocyJ NvmJi6VGpl+w/Vm3xB9rR+ZYj87TCFDw5rbW5D9ilwESKXzerhLdIN6W41i8i7X/o91/ QjJQ== 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 :dkim-signature; bh=8FbrFb3jPW00x7/mERi9oBcI/Ln7NpvrvZpRodrkZjA=; b=FZ38NL41RFMw5dNtPBD5aLuDTgPN9drIlZZopeF7OVzrV8nVJSd51R3jOAf2v7CgSh re5yKNegr45w34azCrkSNyxi1deFyQ2d4m0T28fmxNb5cwuP8E+ZRd3uj8eSloZvtoKL XqT2lDW+PZM/SIvqX+CykZ1DaZLwEsYXdPBeaO8BQOtB6ooiOrzmu2zG066STB5UoERw hCkcSSJ3pO38iSMxKavmFwFsrF5a/kYBf/Wto8ztyBifVPm0TlhFGSzPAqsKILR6zrfk ifo6lFmJLml85FKp2jpaB1ImGkxPJ1XSAqcylQGt2aSTB5G/FfWCdlDI5qmRxGM3jEKx 9qzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xG0sQE5j; 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=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 s16si28982260oih.4.2020.01.05.05.18.59; Sun, 05 Jan 2020 05:19: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; dkim=pass header.i=@kernel.org header.s=default header.b=xG0sQE5j; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726382AbgAENSV (ORCPT + 99 others); Sun, 5 Jan 2020 08:18:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:38240 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725991AbgAENSV (ORCPT ); Sun, 5 Jan 2020 08:18:21 -0500 Received: from devnote2 (NE2965lan1.rev.em-net.ne.jp [210.141.244.193]) (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 C5AAF207FD; Sun, 5 Jan 2020 13:18:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578230300; bh=uhFqVZ7n7Rc+7P7Mc3LqB9MCnQvkQwYs53kehUomJsI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=xG0sQE5j/aFhsFpcN+gCjWHFRhVOn2PDU5EBsi6f6QfTGgt/KmVHGhfIYQdYv0X6B JAL0YXEqyVoPel1D/veDBBjjIKFMVIKxJkwqaalFh44LNdl1088hDlzgioc3GgV3XI REj8VI0fzZYI3UU6k0NotVPOdyT+XVRFOj1gHBFQ= Date: Sun, 5 Jan 2020 22:18:14 +0900 From: Masami Hiramatsu To: Steven Rostedt Cc: Sudip Mukherjee , Ingo Molnar , Arnaldo Carvalho de Melo , Jiri Olsa , Namhyung Kim , Linux Trace Devel , LKML , Linus Torvalds Subject: Re: [RFC] tools lib traceevent: How to do library versioning being in the Linux kernel source? Message-Id: <20200105221814.ed6a53012ec9945296029add@kernel.org> In-Reply-To: <20200103181242.4802727e@gandalf.local.home> References: <20200102122004.216c85da@gandalf.local.home> <20200103211743.b474f74d0a039624d37989bc@kernel.org> <20200103181242.4802727e@gandalf.local.home> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; 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 Fri, 3 Jan 2020 18:12:42 -0500 Steven Rostedt wrote: > On Fri, 3 Jan 2020 21:17:43 +0900 > Masami Hiramatsu wrote: > > > +1. It sounds reasonable to move the main part of libtraceevent out > > of kernel tree. BTW, the plugins seems depending on the kernel. Maybe > > we can provide it under > > /lib/modules//shared/libtraceevent/plugins/ ? :) > > They really shouldn't be. They should be able to be used between > different versions of the kernel. Which plugins do you see an issue > with? I meant tools/lib/traceevent/plugins. It seems that those plugins provide equivarent codes of some macros or values in event formats. In that case, when a new kernel modifies the event definitions, I think some of those needs to be updated too. Or, would those events be considered as a stable ABI? Thank you, -- Masami Hiramatsu