Message ID | 20231005190451.175568-1-adrian.hunter@intel.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2016:b0:403:3b70:6f57 with SMTP id fe22csp508722vqb; Thu, 5 Oct 2023 12:07:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGmAVP3XMYnDfy5rX78SO4oLRSbJzkZFpXdpfha5TdcECjn3sh1S9oEKTH/llAschxhdz4x X-Received: by 2002:a05:6358:2904:b0:141:bfc:b11d with SMTP id y4-20020a056358290400b001410bfcb11dmr6746763rwb.16.1696532836680; Thu, 05 Oct 2023 12:07:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696532836; cv=none; d=google.com; s=arc-20160816; b=saX4xjsARSjoSQ/B27oJUxcPhPlqIkxvNPhDs9zEd/ITk9cY3kIpIxL8ZD3MZXW4Xx 99hwnNM7g16DioTw+ppGbl5c62blt69SkgOhlfA/I10gXpiQ0aahMGxvzAb3+tP1dBFC D6zx2kdvykb+x6JNwOROBkVMM3GoFmcaI1TswDMt2+n2KrySh5M5+hoq13IIiZ/TXwIc 40OIB2LKO1+idTnPBwU8Pge9S8gvfDsaZV6ZwH/BDe3EAcbKfiN+/ePZnN1ETsE/zFoU 48DyuFoUQ6gVYTyuwYVuSRgqCu9krV8ybGJnsxL00cZZcMK8AxsL51S9rgeco/43+DC4 wVmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:organization :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=XM/M15gj4sJHdingcjSVoDa8snjOeSg0JnZSh8BXU0g=; fh=7ueK1huCq2Lf3LMjc8i3Ob70zhQl+8ZRdqYzG6swRYY=; b=bzRlATcMaT8xy+CONYIoQMWzdOqAwcFRWMeRIZk5fApaWipQQrQVxua1gFQiBQX7jz CerbgeLUJAGyVFieFwH93z/p3zrgxxt4EzyVLJWCjfYjhPwvqj+4AG0eHjSbHRNBtrbK Jh56nxJ/dxigryD4qHvuWMbuefCIJ3hSMyv9iF7x19SVWcvNp5BnY1JwOpH0N5zFXTEo tMPMK7VmP2UbTKYI7DIpQAbDDwhucPq+7K51YzF24l2mrQIb3/dpOcBwhfSs3DFcVABj Jq+5SkxJdj8XvXN6N8URDEpBuAqSRUWjDwIOEaEhMBVxWKudyhUbpcvqspDW2djEmqAt wEqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=M6QeXN2B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id t189-20020a6381c6000000b00578a9192d90si2049144pgd.140.2023.10.05.12.07.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 12:07:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=M6QeXN2B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 7A191802D43D; Thu, 5 Oct 2023 12:07:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229990AbjJETGi (ORCPT <rfc822;ezelljr.billy@gmail.com> + 18 others); Thu, 5 Oct 2023 15:06:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229804AbjJETGe (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 5 Oct 2023 15:06:34 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33DDEE5; Thu, 5 Oct 2023 12:06:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696532793; x=1728068793; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=uzxlgwZ8x82LLBnZJSRnVgezJ3VH2Oj0pq6ma9njLKg=; b=M6QeXN2BAP3+PlLzrPkQADIWKOqpGL5h9tKExZ5pZvoLuF0dDtVrcnrM t5DwyEqYcAYhjNkGL5zvP/oC+Qp1psE40YAG8mzhOLA7GVDsiwCahKpHU uhFIIO/aHEDp/YB4RjdPuv1xlwDiPB2ch9x2uJif0OvAJzz0ayTvZHK66 Y+l3wABxr4haUmOCNJyLk5GvPu+wlgWtfnRzjVFYY5R9P6eSyeCKtnRhG M3zbv7XFddQhXfB/MXLm7LWlk8cxvmJGzChqR5fPcgndm8mMBmSt3Z1S+ Y1NISb5YLksLr8s5q6H7DhUC6VDZp2Kjf0gvDGm2uv25L/QMP31axzae4 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10854"; a="383488218" X-IronPort-AV: E=Sophos;i="6.03,203,1694761200"; d="scan'208";a="383488218" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Oct 2023 12:05:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10854"; a="999055066" X-IronPort-AV: E=Sophos;i="6.03,203,1694761200"; d="scan'208";a="999055066" Received: from ahunter6-mobl1.ger.corp.intel.com (HELO ahunter-VirtualBox.home\044ger.corp.intel.com) ([10.249.35.8]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Oct 2023 12:05:08 -0700 From: Adrian Hunter <adrian.hunter@intel.com> To: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>, Ian Rogers <irogers@google.com>, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: [PATCH 0/5] perf intel-pt: Use of get_unaligned_le16() etc Date: Thu, 5 Oct 2023 22:04:46 +0300 Message-Id: <20231005190451.175568-1-adrian.hunter@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 05 Oct 2023 12:07:14 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778943615799689423 X-GMAIL-MSGID: 1778943615799689423 |
Series |
perf intel-pt: Use of get_unaligned_le16() etc
|
|
Message
Adrian Hunter
Oct. 5, 2023, 7:04 p.m. UTC
Hi Ian sent a patch for this, but using get_unaligned_le16() etc seems nicer. Adrian Hunter (5): perf tools: Add get_unaligned_leNN() perf intel-pt: Simplify intel_pt_get_vmcs() perf intel-pt: Use existing definitions of le16_to_cpu() etc perf intel-pt: Use of get_unaligned_le16() etc perf intel-pt: Prefer get_unaligned_le64 to memcpy_le64 tools/include/asm-generic/unaligned.h | 20 ++++++++++ .../util/intel-pt-decoder/intel-pt-pkt-decoder.c | 43 +++++++++------------- 2 files changed, 37 insertions(+), 26 deletions(-) Regards Adrian