Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2877595ybc; Thu, 14 Nov 2019 00:01:59 -0800 (PST) X-Google-Smtp-Source: APXvYqx653hOrKqHcL6PvtEOt25i93iUB4VWp46vq9GJPlGld0ObgRnRfzoNdPDOVPbqQ8NL14mv X-Received: by 2002:a17:906:2546:: with SMTP id j6mr7179623ejb.132.1573718519537; Thu, 14 Nov 2019 00:01:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573718519; cv=none; d=google.com; s=arc-20160816; b=YpP5566suFgIGOkeZ0FHEv0tJKxgtYwMW0CqFayZ8LcfGhUvndWtY60t3PTTP3Ii7j jNyUwmHU4DIX779uMPCVy/aa0Xz61CyuP2/aSmJhqOrWHgbK2axNZcfV8Wv00sU1gjY0 PzATkp3jLUceiS9WngFAc5oZ/dxtiBJ5rJDEYPyXidVTA9m/fvJSwPMbWHoD+85affvn VtXYkVaiBoxXYsKExrl8YmnT4vf2CssNGAEYgrZGf6uQlr2xmpI9keW7+Ocmo0QX+6t+ yxYWwzgwFqLK8SV3w2Sv0hkPTmUCXKSp0r+szsYuRPV4qgMbFYdfOzs73gpYSPmS6yZ1 PYbw== 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=4xbSbE3vef6QFZdOYLLtGL6ZRWIz9/cbT+u1O5OjlxA=; b=ZbYEBOOOS12yERupuzYLbkCML09QUiLHgXX0RrJgfNx0BKZM0OhCXGQ6uLus7b3FGN PLHaba1pGl7KLmrBnp9tiWgd7iMZ0knZUy6frQeD2RtDh4XSVnUgPHL5h/i/6fATRb3G btZih478vQVZdj1R2ywPnjcZHksuBM5yk60lr4ggAK3jCXsJLXNdVtr47w/wIvETjCzs PZmetH/WaWc+LhDh2cF9qNyHNQwk0+jDX15rbplXLJ4a8CD7nth6OQw9vteM3tFC1DDS qsj7O78q6l8Sw06+68l8UrQfK0vGZ1K5Xe4FTlM1z8ZywN+91YFb/g511iQjPzF/eDzm SgTg== 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 h12si2927464ejf.418.2019.11.14.00.01.34; Thu, 14 Nov 2019 00:01:59 -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 S1726179AbfKNIAp (ORCPT + 99 others); Thu, 14 Nov 2019 03:00:45 -0500 Received: from mga03.intel.com ([134.134.136.65]:54828 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725838AbfKNIAo (ORCPT ); Thu, 14 Nov 2019 03:00:44 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Nov 2019 00:00:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,302,1569308400"; d="scan'208";a="288142205" Received: from crojewsk-mobl1.ger.corp.intel.com (HELO [10.237.137.172]) ([10.237.137.172]) by orsmga001.jf.intel.com with ESMTP; 14 Nov 2019 00:00:41 -0800 Subject: Re: [PATCH v2 1/2] seq_buf: Add printing formatted hex dumps To: Steven Rostedt Cc: Piotr Maziarz , linux-kernel@vger.kernel.org, mingo@redhat.com, andriy.shevchenko@intel.com, gustaw.lewandowski@intel.com References: <1573130738-29390-1-git-send-email-piotrx.maziarz@linux.intel.com> <20191113160237.6b8efe12@gandalf.local.home> From: Cezary Rojewski Message-ID: <8d937230-9890-aabc-b268-c3a2e1f799b0@intel.com> Date: Thu, 14 Nov 2019 09:00:40 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <20191113160237.6b8efe12@gandalf.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-13 22:02, Steven Rostedt wrote: > On Thu, 7 Nov 2019 13:45:37 +0100 > Piotr Maziarz wrote: > >> Provided function is an analogue of print_hex_dump(). >> >> Implementing this function in seq_buf allows using for multiple >> purposes (e.g. for tracing) and therefore prevents from code duplication >> in every layer that uses seq_buf. >> >> print_hex_dump() is an essential part of logging data to dmesg. Adding >> similar capability for other purposes is beneficial to all users. >> >> Example usage: >> seq_buf_hex_dump(seq, "", DUMP_PREFIX_OFFSET, 16, 4, buf, >> ARRAY_SIZE(buf), true); >> Example output: >> 00000000: 00000000 ffffff10 ffffff32 ffff3210 ........2....2.. >> 00000010: ffff3210 83d00437 c0700000 00000000 .2..7.....p..... >> 00000020: 02010004 0000000f 0000000f 00004002 .............@.. >> 00000030: 00000fff 00000000 ........ >> >> Signed-off-by: Piotr Maziarz >> Signed-off-by: Cezary Rojewski > > I'm curious about the two signed off bys? Was Cezary a co-author? > Hello Steven, Code is done by Piotr. I merely took part in shaping this idea and doing initial reviews. Kudos to Andy for helping us out here. As a dev lead and maintainer for Intel ASoC team, patches coming from my team are also being signed off me so any reviewer has a person to complain to in case of any issues for extended period of time. Czarek