Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1168687ybt; Tue, 7 Jul 2020 09:13:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxT6FnEGw3+8zT++2nixOJNXO5m5jFG93CqZr710u42iNTWqW3vHffpXCsuQ97pEhkH2nqR X-Received: by 2002:a05:6402:1592:: with SMTP id c18mr64249453edv.258.1594138433500; Tue, 07 Jul 2020 09:13:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594138433; cv=none; d=google.com; s=arc-20160816; b=u54r7v20nygG+I6m6kZZKB7CIkfJm2sr/u7asysdiczrbprE6HLFe10nyzVpzk2IBd jlCqzIWAp49eYhbS4d+cbgcoglSD0dTfxrT+wG/un4vgXfWClNUNlL3M8IrVn41rZK6S GLTHCGRk6VY9MZP668If/K5ckFJ6vMhDAYlxcIPmTccBdJtkzGeM6GM8qVunsG+mLOF3 +Tp1spTZfga+v/9Mc4xQAgB+SlQdC6yAEhsJpUHEycwex1qg5zOgiNNqOT9pFMamKt7n ug8Idl3wMD2FrU9nLb5CGPUZM+W7TYxZ+GLHQe7p/sCJmMlGN0YO3TU87pLY82+m5iYh ziyQ== 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; bh=glbxQFFGqKEIZtJFI/MyUX+5n5+rrRBg/DHPhseiVQQ=; b=lOVRTo3Y6p2AfB5mOgOTtuuCmsQSJzJ4/AeE67mWRTJDrfEohfTmLRbCzjzdx+IPyL zGkNJmzf6iQQR+9Z4tIYSrly2SRiURqtgBW9YEEkHjmMCzEmhZdp5GmPSo2Hac4Y1EVW futaaE8/FpV7MSE3/SwuR++kwKBYHGlXXTMJGMMpR8OVE9lOt9/4ZCiDgczFCjIQJETe 5Iv4//w6Jr+3oFlyma4ILGfJ1trtE7jrDkdaBj81Ox1G/HwuL4tSTYOuTCMIDWOile68 qhes8aWeCX2i+36iGLMp5EHsbPWlp2pTdsLtqGoGqig7hsvqyYI2T2fhoLOJxRJJgiLh 4hjg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 8si6597441edv.523.2020.07.07.09.13.28; Tue, 07 Jul 2020 09:13:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728369AbgGGQKo (ORCPT + 99 others); Tue, 7 Jul 2020 12:10:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:34624 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727079AbgGGQKn (ORCPT ); Tue, 7 Jul 2020 12:10:43 -0400 Received: from oasis.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (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 C323520674; Tue, 7 Jul 2020 16:10:42 +0000 (UTC) Date: Tue, 7 Jul 2020 12:10:41 -0400 From: Steven Rostedt To: Changbin Du Cc: Jiri Olsa , Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar , Namhyung Kim , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 05/15] perf ftrace: factor out function write_tracing_file_int() Message-ID: <20200707121041.15811cca@oasis.local.home> In-Reply-To: <20200707120923.26f7e349@oasis.local.home> References: <20200627133654.64863-1-changbin.du@gmail.com> <20200627133654.64863-6-changbin.du@gmail.com> <20200707120923.26f7e349@oasis.local.home> X-Mailer: Claws Mail 3.17.3 (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 Tue, 7 Jul 2020 12:09:23 -0400 Steven Rostedt wrote: > On Sat, 27 Jun 2020 21:36:44 +0800 > Changbin Du wrote: > > > We will reuse this function later. > > > > BTW, trace-cmd.git now has a libtracefs.so library, which I'm hoping > within a month to have as a stand alone (probably along with > libtraceevent and even a libtracecmd). > > https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/tree/lib/tracefs And the API is defined in this header: https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/tree/include/tracefs/tracefs.h -- Steve > > This is a library made to interact with the tracefs directory to remove > reimplementing it all over the place.