Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp895913ybx; Thu, 7 Nov 2019 04:19:16 -0800 (PST) X-Google-Smtp-Source: APXvYqzPFYkUApcnggOzZPQ3TcCKaXJP1xUOicnuIzeapwcozkmrIettjUo6bMLsKh3cauaANxN8 X-Received: by 2002:a50:cd14:: with SMTP id z20mr3135931edi.226.1573129156773; Thu, 07 Nov 2019 04:19:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573129156; cv=none; d=google.com; s=arc-20160816; b=Yccso9QZGltTuJw2GsBRDliRYIWjDuSgCr/mrvq7hF/Ubd6KSKW5bnAt/TjzYfc26V POi8w1Sxl1ccoILuzxGRlAt3l1HsFR5ztW1xwZY3z8tewao/EbqmDv58HjtS+1fIdGLK p7y82QZnDoSMHcepk6/ewdn/mjxYi64kYjOGlCVuy18kLJwz3yrmYARlX06IJOxU633Y e3pglyOep70iSByvAyGnhaR4TUqidNOhsBKd2+OrcTOero4J8Es/vXjw54ca3MKWwtg2 PD2BJ1eQ1EKQpCtvKXihMn2NA+BNgdfpaneuNzNQqJTgcTIoJ32Nnd9tG6Q1cWmnEKI0 VGgg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=YXa0LnPWrSqDNxpexybiFGMLEjJ9aUR/p9vzLvuy2Vs=; b=s2ODBGYHOEqSULUNP8BxHVXlX9a3Ldaz2X2+iGtpXnaxWsd3pInojvVk4y75wd+tNR 65QLGuG7cXBFUQPPab3puv3H/knDpdQE/3nlLxDwd2qV6LTC2bh8cFFvHSi058ieJrOh iaQvdodAM5ttHToC8iyrGqqD+4gyqmKL5IEJrHHYOIme8JwJ+7IlMPJ4b8llEYbewt29 NJCeEugK7PHiXupAgb/tuaU/ZdyREVTO9Gb4B7zEUk+BdEgS6GYw6GkauKUqoyQabtFP Wr98kg6v3m7tn1A1Lv7E0xN8XLi05D9y7/M2estndTAbo5AVEEfmNx8D5V90a5LH96er WnsQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u59si1449301edc.193.2019.11.07.04.18.52; Thu, 07 Nov 2019 04:19:16 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388089AbfKGMSN (ORCPT + 99 others); Thu, 7 Nov 2019 07:18:13 -0500 Received: from mga09.intel.com ([134.134.136.24]:15301 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726810AbfKGMSN (ORCPT ); Thu, 7 Nov 2019 07:18:13 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Nov 2019 04:18:12 -0800 X-IronPort-AV: E=Sophos;i="5.68,278,1569308400"; d="scan'208";a="192802796" Received: from pmaziarx-mobl.ger.corp.intel.com (HELO [10.237.142.179]) ([10.237.142.179]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 07 Nov 2019 04:18:10 -0800 Subject: Re: [PATCH 2/2] tracing: Use seq_buf_hex_dump() to dump buffers To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, mingo@redhat.com, andriy.shevchenko@intel.com, cezary.rojewski@intel.com, gustaw.lewandowski@intel.com References: <1573021660-30540-1-git-send-email-piotrx.maziarz@linux.intel.com> <1573021660-30540-2-git-send-email-piotrx.maziarz@linux.intel.com> <20191106035512.3ff7bc20@grimm.local.home> From: Piotr Maziarz Message-ID: <743a0466-38ea-d8c2-8954-e5ca72c8b943@linux.intel.com> Date: Thu, 7 Nov 2019 13:18:08 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: <20191106035512.3ff7bc20@grimm.local.home> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-11-06 9:55, Steven Rostedt wrote: > On Wed, 6 Nov 2019 07:27:40 +0100 > Piotr Maziarz wrote: > >> Without this, buffers can be printed with __print_array macro that has >> no formatting options and can be hard to read. The other way is to >> mimic formatting capability with multiple calls of trace event with one >> call per row which gives performance impact and different timestamp in >> each row. >> >> Signed-off-by: Piotr Maziarz >> Signed-off-by: Cezary Rojewski >> --- >> include/linux/trace_events.h | 5 +++++ >> include/linux/trace_seq.h | 4 ++++ >> include/trace/trace_events.h | 6 ++++++ >> kernel/trace/trace_output.c | 15 +++++++++++++++ >> kernel/trace/trace_seq.c | 30 ++++++++++++++++++++++++++++++ >> 5 files changed, 60 insertions(+) >> > > I'd like to see in the patch series (patch 3?) a use case of these > added functionality. Or at least a link to what would be using it. > > Thanks! > > -- Steve > ASoC: Intel is an initial recipient for this feature. I have a patch for this, but it should be also sent to alsa-devel mailing list, and since hex_dump tracing isn't there yet I'm not sure how this patch series should be sent. Best regards, Piotr Maziarz