Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2269985rda; Tue, 24 Oct 2023 19:09:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEaZnyhCv1fqFM5MhTxmd1YMAjkWya5dZCXYJ+X7NjqIXm1iv+WhrtU2bzXu+ftZWMwOaV8 X-Received: by 2002:a25:d111:0:b0:d9a:be2c:ce3d with SMTP id i17-20020a25d111000000b00d9abe2cce3dmr18422110ybg.8.1698199782606; Tue, 24 Oct 2023 19:09:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698199782; cv=none; d=google.com; s=arc-20160816; b=E7bVp56cE2PMxPRj/yMiLsV1GjvP/gsn1x3CKSneWMdYk4RhqiTx/6FIJm1eQb7Wtg G2No/QX+0SMd6OU5IHeV2q80euAw5P0JIGINEPu0Ru8b9igSeaM3dKwa7Fye9zzQge12 24rm1MCUEiyKIDvK5gLTOjcxK6GxRtls8a4seEYAGUdxSIciJw+INTC1mdManEv7wShU HH1ZT0TaYpDUh3h7RZ/wmwmVdzeFe6Dcm3uoVfyBM1P/nMHndyRu2LXbQ+S33MKAT8pM XBvyYdr9L44HPEiT/trAEJBjlObcg3XE9qyY+/UUVAHPHZk1UWxBYHxQsabb9Dtwigqt 1+Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=dNwfhZXVzoVIWmVUbWo6Szn2SAdtyDaLNE6GcKEyPLg=; fh=5BxsNRiDvlezYM/2JWn+Q617vZy9qr6PfN6hmqikjKc=; b=jtxIz4cxj3rznLZDSbBdayFCd9ioUwPu3stWXQJW4s9BareUiqQYV+JbHhmT749RDU L3hdhVy6Ri2qP61QsdxH+8ctK4WlCkm1u3894/TX7eVfF3KxwNdbSIINny9i+ibk0kpw C0wpGB1veC+hBogJDmEFcRvKg+3/WERKA+CvxU9LrH8WzdagSQ3HwKu9spnxcqLek7/3 f/64SFDXEdipVOa+ZlDMKTKCJBTmTuDkwD82XbIYFbQLqd8l3TxTxosWKwfnhSAk3bA7 yUaWTAzk12N7PAvF+/e6QT88BIegRtPDqh3Hze/BVsMpasF1G9OuM7V/pDm03ihiC5t7 KMkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Amw346gw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id 9-20020a250109000000b00da05370fdcbsi2097677ybb.644.2023.10.24.19.09.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 19:09:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Amw346gw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id F29FD80218AB; Tue, 24 Oct 2023 19:09:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230469AbjJYCJb (ORCPT + 99 others); Tue, 24 Oct 2023 22:09:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229548AbjJYCJa (ORCPT ); Tue, 24 Oct 2023 22:09:30 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF65C10C6; Tue, 24 Oct 2023 19:09:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698199768; x=1729735768; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=tM33/slKrB++OIadj/NigLF45+0D5ztylCW7LoOSFx8=; b=Amw346gwBAWcmqbMD3zFFxRfXzzNWx/+HAnvQ3X8P7nziwwRuTAIfrjf TnIkwWvSxBKyjUfZy/3ZWuv17NosarJ9dE4Fx/nf/k48jmxTzrXmRr2Ce IQti6KsorWdEuP/k3ZhoOIc7/5XKGX8+WJgXwaMIH642mf4eKDeHxlD36 p1lK7EqgWoKsscHm8I+VbzcubhBhFNq4x3lUXMEXcFifDxwYg2Y2kKgSR 25CFfw7sPIv/0voqZ/TY75SN+YG0wYc+2H7QxpBG3/JxEDrxlheOwcGvK t/Hz1ZNqexgdq3nkyIlzj+0nwS9hGejybqTUaJdR6u8ZXbbofuUIGgcI+ w==; X-IronPort-AV: E=McAfee;i="6600,9927,10873"; a="367433559" X-IronPort-AV: E=Sophos;i="6.03,249,1694761200"; d="scan'208";a="367433559" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Oct 2023 19:09:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10873"; a="1005841775" X-IronPort-AV: E=Sophos;i="6.03,249,1694761200"; d="scan'208";a="1005841775" Received: from tassilo.jf.intel.com (HELO tassilo) ([10.54.38.190]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Oct 2023 19:09:26 -0700 Date: Tue, 24 Oct 2023 19:09:25 -0700 From: Andi Kleen To: Namhyung Kim Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Peter Zijlstra , Ian Rogers , Adrian Hunter , Ingo Molnar , LKML , linux-perf-users@vger.kernel.org, Linus Torvalds , Stephane Eranian , Masami Hiramatsu , linux-toolchains@vger.kernel.org, linux-trace-devel@vger.kernel.org, Ben Woodard , Joe Mario , Kees Cook , David Blaikie , Xu Liu , Kan Liang , Ravi Bangoria Subject: Re: [RFC 00/48] perf tools: Introduce data type profiling (v1) Message-ID: References: <20231012035111.676789-1-namhyung@kernel.org> <87pm15vw5r.fsf@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,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 morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 24 Oct 2023 19:09:40 -0700 (PDT) > > > > > The main difference seems to be that mine was more for perf script > > (e.g. i supported PT decoding), while you are more focused on sampling. > > I relied on the kprobes/uprobes engine, which unfortunately was always > > quite slow and had many limitations. > > Right, I think dealing with regular samples would be more useful. My code supported samples too, but only through perf script, not report. See https://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git/commit/?h=perf/var-resolve-7&id=4775664750a6296acb732b7adfa224c6a06a126f for an example. My take was that i wasn't sure that perf report is the right interface to visualize the variables changing -- to be really usable you probably need some plots and likely something like an UI. For you I think you focus more on the types than the individual variables? That's a slightly different approach. But then my engine had a lot of limitations, i suppose redoing that on top of yours would give better results. -Andi