Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp812678rdb; Thu, 18 Jan 2024 22:31:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IH5jXZo/efDhChQ2j+25gN1kG4rt5FDi7u8AnYOn0osUnhlymBdQp3VvHJ/b/8bYKBLd0W9 X-Received: by 2002:a05:6402:cb1:b0:553:627f:4e48 with SMTP id cn17-20020a0564020cb100b00553627f4e48mr1227877edb.55.1705645891207; Thu, 18 Jan 2024 22:31:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705645891; cv=pass; d=google.com; s=arc-20160816; b=tEgIYgsZOMxpreiN8eyPMoGdR0tZM+PY99GD2Ls7qCOEJDqzrXc+cpUs3v6b6hfOQ0 qO57DBqbFhlWdXY3+Yufjbctwm/tSsx5WnsCRXMCoSzJ7jbI/ZXiV1jlrCqHdh4tyrum pYhRLwr1HBOFB7xJ9NxAReVg7mSeNjyj+ssCN3A06l42F8YGkFixfr3eOQIHwJqrjmVV i0R+DZ98GBsdeIfLCJwGhXghGSb3j/3gkAR5oCHLPKkvuxIBAf6/l7PLw3744/9USqgw XskSIRwTp6sFDU6Q4dBOMP44lHy/kMJFmbmtc2NL+47uMYfeWxshnTEw1c9MXt1kdYQo o9NQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=ls0wdRdDlBNdTsQdwj7EnTWBcFnpbC6V5MLyD4hYmR0=; fh=xdV/azP0UsePfAf6T6yfx6tdt+8SCBXvFRsAfzyEkTQ=; b=DX0n2f0dY+6GjDrGndg96yi71RYFE0sI1vkEb5aoLzX9e4RfywQSCKQ1n5qkKDIJdJ t9NqA2DhHuC7CfKmZkZ/a05Q/kfXnhqCakqQhxyoeGvrCpaolnnfHeHPsOiZe4n2N/6G Tkqau7egfhPxTnkqEQOK0AT/YI3fC2j1VxE8TlUkP6yR5wh4EwmvlcvhBGgsAvoFcv4L zcTaKMGFS4YKBYe0J7DsaB/U6pOjW6RNHticmLrCZUFFZrbs6sq3rOENGNC3zSGqFfLT xiY78iV9s0LEBJ8bVU6kB0xFZe/Q5EO49AnegyXIhYiBJsQfjw0zNUntyTBKJKZ1biHC xdig== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BdUxOKmk; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-30816-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30816-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id fk3-20020a056402398300b00559eed310b0si1955413edb.396.2024.01.18.22.31.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 22:31:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30816-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BdUxOKmk; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-30816-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30816-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id EC5021F22487 for ; Fri, 19 Jan 2024 06:31:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9FF43BA37; Fri, 19 Jan 2024 06:29:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="BdUxOKmk" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C586944E; Fri, 19 Jan 2024 06:29:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705645757; cv=none; b=R+2RFEMbHlM3smOlQ6E/aaM/SzNh0FscKBDGc9VszGtWOyQZu5IdvH5dNBGHkGGrdY72XMpRHm4cQV/SMgT9EwKInG0f1kxRmscy4m6qJimLeXpgv1WTJxmLC/s/sj42ql9+4Ubdxd+GdeTJTcnzEpEnIDVuTKXK+APHLKh/9wI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705645757; c=relaxed/simple; bh=KpM91AaUX8HFXOLN3PW3rJonDM4bBrfk7asugj1BqkQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=t+F7S/upkkm4QmcK2Ugil+Z6qtgMHmYe3khRjmUMueQvvUyqN+P7wGNhwHYgOUugG7sA5e59hlkcDP4hn4rMIK9TPD7fLjd1YCXPR5jUW1E4gDMBjnPgIks4Mnm0VIGLqcTzPDYtNuutZY5G8IJE1i0YHODRnLizuizzA/F4ydE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=BdUxOKmk; arc=none smtp.client-ip=192.198.163.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705645756; x=1737181756; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=KpM91AaUX8HFXOLN3PW3rJonDM4bBrfk7asugj1BqkQ=; b=BdUxOKmkCnz9G4/t96N4WCgj0KE87CT/YuYLXVpgYm0RyozOlzwlBQ0N /cVOI7ArFXc+/UaiEdxyz/1yEjGp/6X+AK8NRfxXEyAHC3+jT9pFUhjGu kHKwUpK6NnGKCBCCTy0EzFBrkCTwFpqlf/i+w4wexnoP53DbXYZ59zEUI 5cFWj+ibhpStS3l8SUaIXddD7/xNheuUWsbdywFMrNTlJ2gU9wKGrI98K 3Ft9kAqQiRW+8hwyTzvYxg8nT8y0SYQuplPb0+ZXEQBUEByE32WluDAps ASyEaO9uAFZoaaVnEFX09/KX4PcfzRLukbajwIPG+lM6yGAWvasAZ8jSB g==; X-IronPort-AV: E=McAfee;i="6600,9927,10956"; a="22166515" X-IronPort-AV: E=Sophos;i="6.05,204,1701158400"; d="scan'208";a="22166515" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jan 2024 22:29:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,204,1701158400"; d="scan'208";a="572091" Received: from ahunter6-mobl1.ger.corp.intel.com (HELO [10.0.2.15]) ([10.249.39.208]) by fmviesa004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jan 2024 22:29:12 -0800 Message-ID: <3d5266d5-e5e1-49f9-8fb3-b736dc79e5e6@intel.com> Date: Fri, 19 Jan 2024 08:29:08 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 3/5] perf: script: add field 'insn_disam' to display mnemonic instructions To: Changbin Du Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Andi Kleen , Thomas Richter , changbin.du@gmail.com References: <20240118041224.2799393-1-changbin.du@huawei.com> <20240118041224.2799393-4-changbin.du@huawei.com> <5766b575-e2db-4a56-9808-31a64bc72402@intel.com> <20240119035735.y427wcmsm7dow6h4@M910t> Content-Language: en-US From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki In-Reply-To: <20240119035735.y427wcmsm7dow6h4@M910t> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 19/01/24 05:57, Changbin Du wrote: > On Thu, Jan 18, 2024 at 09:49:41PM +0200, Adrian Hunter wrote: >> On 18/01/24 06:12, Changbin Du wrote: >>> In addition to the 'insn' field, this adds a new field 'insn_disam' to >>> display mnemonic instructions instead of the raw code. >> >> 'disam' seems an unusual abbreviation, and the 'insn' part seems a bit >> redundant. Could this be just 'disasm' instead of 'insn_disam'? > > Personally, I'd preserve the insn_ prefix. So we have two related fields 'insn' > and 'insn_disasm'. > 'ip', 'sym' 'dso' are all related but do not have a common prefix. Also most of the field names lean towards abbreviation.