Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp892774pxb; Fri, 13 Aug 2021 08:34:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypcSO523/mhrHoKYjL8j4oTapiePKb6xlpNrKexGUPxLoc4jeukNQQFyb+6X9p+XwAyw2i X-Received: by 2002:a5d:974f:: with SMTP id c15mr2422119ioo.190.1628868844694; Fri, 13 Aug 2021 08:34:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628868844; cv=none; d=google.com; s=arc-20160816; b=kC3H81DueneUbObkJthKWDyxo6EjGJWlLrurUZBzGaoNipiPyyR8iG96Vx5gHhSwG0 2b0spnT2QJln5k6ec8Xqw+m2l7h4zrSVPW+9KinLmQAOuAWZKHCYzi/P3HWyHVhqS+Fp 4SxXfLEZi2Lrxd1LemZoDVpxBnm3ApzQuX2jO30QVS2/eu91DDPKqhAYmokf4wluyzAy ofFVA55k2sG1wdOxDxJSiVNt50Ywg7N5IPGk4XnDWNHQRL2gxwmvpLeOFmbWzlIeYyZz xKhht5ODDWeunBpUwXcAhx+b46clWnyXuA+Sig1petUc/c8O5guEQVbnLlaGG9anjt00 q9zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=pfh2aLnn+oWqEkzymjLQG9TnlPOHfIjCMC6knr5OkVU=; b=ZQdwMt4rvFXzDjGM24wUbtf07//IIBMcFFf7KSfum6UY1toLWCemsE2wCA+vnCmJYj nXCG3T03+n4Y509c8p1yK/nj6G0q5UuJkLXvtNCckF6dw8nkWvE67Z1j97A2+RsCO4x4 /y/NHdGBQ8lA+hS0m4vLNNtQhhA7BIqhSO/+CQ+zzvzQiCEUVfM3/8/zTegGFwva9U8f C2jagQxkk9Az+KTC0OitwcffeVoMtz7c4F/du1q+snhLIi+oDopsckQ44CuWRlX1qNAW Rq4WtEYm+R8UWoG6T360oA+3ajDLo/D1JBUnyKYEEfQeg4Och7P90od/VQD7lKFw1hwD FFTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NB1nBQLN; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y17si2653675iov.62.2021.08.13.08.33.30; Fri, 13 Aug 2021 08:34:04 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NB1nBQLN; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239146AbhHMPbd (ORCPT + 99 others); Fri, 13 Aug 2021 11:31:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:37642 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236719AbhHMPbc (ORCPT ); Fri, 13 Aug 2021 11:31:32 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 223B360F51; Fri, 13 Aug 2021 15:31:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628868665; bh=j/cq3RnilYjfjnkBy+wgYRioYjMOqrFWQpXfBHLhjRM=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=NB1nBQLNxxYUL21QD+hFeXDqZcf5qrOEyyIjW2wlRyrfkhAdNhhI6B2UdAzn+p+Ye DIG+I+9PIFjRZIqqwV/NWlHsEUDo9tQmdQbtbX3vvp50PXPAqv9B+fpvuTFcjHHcyo JvjKKPn6wwn9yRYgtoZ6ALY8Fli+Gix8Ly+/LIQR1MCA5k0ha+z4cQq2UPUyf/OwX4 hj8jtiVIW7tFQDxGirAX8ghwQCKX1BAf3RDzibqxanVpy6Tv339cLqg1DrzDfUNaPH STiy8SJgcUXOz2ywp+QI1DkmfoGVLWAsgrqLrnOgVLSrAlHn/EoplV/HSlc4V4m3pT tRFgTn+BC6l9w== Message-ID: <42a2672432301de9beee593765bb49f739ce493a.camel@kernel.org> Subject: Re: [PATCH 0/1] tracing: Provide more parseable hist trigger output From: Tom Zanussi To: Masami Hiramatsu Cc: rostedt@goodmis.org, bristot@kernel.org, linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org Date: Fri, 13 Aug 2021 10:31:03 -0500 In-Reply-To: <20210813182436.0ca56fe333a80fb7188f0b14@kernel.org> References: <20210813182436.0ca56fe333a80fb7188f0b14@kernel.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Masami, On Fri, 2021-08-13 at 18:24 +0900, Masami Hiramatsu wrote: > Hi Tom, > > On Thu, 12 Aug 2021 17:43:23 -0500 > Tom Zanussi wrote: > > > Hi Steve and Daniel, > > > > Following our discussion last week about more parseable hist > > trigger > > output, I started trying to implement the 'csv' output you had > > mentioned, but realized that since it was more than just table > > output > > that was needed, JSON would be a better fit, so implemented that in > > this patch instead. > > This seems really good feature! BTW, what about adding an tracing > option to switch the hist output format? > e.g. > > $ echo 1 > /sys/kernel/tracing/options/hist-json > > This will no need to add additional pseudo file but just add an > option to > the ftrace. > That sounds like a good idea, thanks for the suggestion! Tom