Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6243652rwd; Wed, 24 May 2023 12:55:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5W1c5yoIGrFVPPyczSSN0FqAjT1wC8Qmwtr409BXyuxdNgOp4Bl0p9DKUcHldvhHv3AwMn X-Received: by 2002:a05:6a00:2306:b0:63d:2f13:1f3 with SMTP id h6-20020a056a00230600b0063d2f1301f3mr5328601pfh.33.1684958155276; Wed, 24 May 2023 12:55:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684958155; cv=none; d=google.com; s=arc-20160816; b=KPd9HpH2GYpzpVxbkFowp378z4Om6TfoMEwMnFHZqDto0cLK0ewY8slqSgZC724m4n G1Qp8sGCHQgi5zBosBWWAl6G4F5gj/tmeeEYwi6TOlAw/aCkSlnCPo9meZaA9bkukdih wUKYJlpTE1x28fz2YKrDynn5zceoaEDz6d8uwTUJmrYrquCPL52cU7ueuy0KmL9ru3/R P/6+Et8gCO2mRYeBSHrmBLA+iQO5osU4eaN7gAS5PULSDEoHFu2NwFHI5yDakkpryiGC 6eB+NDq4IHLmlTuhD2Tf342AZIYM68QMRlAqybYi5sPZ0sD2J7gYNBVMMgCXtisyZEXp L1nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:date:from:dkim-signature; bh=y7tQVx5KhyZTfskaT4JOiAzqz+awNPLyNJW3eUvdWJ0=; b=LvAoIIJ+7IVXAy02Ha1HBSlixtyPKNANLzijetsh1pgF81uBip4MAa2BvIbwHo329w TxkV7gfWnmEkVGBqc8Bqs98fd2Sl6lz8qOrS4Fu98tfEe8atPFGsBHDlwcFzF58F/nBf rI8js8fxglESnOnW1+9uB7TlXJMTBEOTA2XLe+n/gLy7c8DvaE2McXlVNO2aOAP4lLIP y+HyS4fGn+ZRv6pEnA/wK19XU+zrb8UGNaOfC22UoUlfL5Bsbb8NyW0iHV8MdJFKzicd K0yAKy6G7Y8SU2/khGB0Qooo3l6lUMr0ilZy8TomtNAaBLpIlS/P/huYD1IdkXsR+8wZ n4qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=q1vHSsWK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b3-20020a633403000000b00517a4a75528si1767645pga.162.2023.05.24.12.55.40; Wed, 24 May 2023 12:55:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=q1vHSsWK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235517AbjEXTZL (ORCPT + 99 others); Wed, 24 May 2023 15:25:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229547AbjEXTZK (ORCPT ); Wed, 24 May 2023 15:25:10 -0400 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45D4C12E; Wed, 24 May 2023 12:25:09 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id 98e67ed59e1d1-2535d86a41bso469329a91.3; Wed, 24 May 2023 12:25:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684956309; x=1687548309; h=content-disposition:mime-version:message-id:subject:to:date:from :from:to:cc:subject:date:message-id:reply-to; bh=y7tQVx5KhyZTfskaT4JOiAzqz+awNPLyNJW3eUvdWJ0=; b=q1vHSsWKIoPK/EQaQMW1mMTBUXrr//27so0IxjSfsPSTKKEA/y8C0iHDzrximC3995 f5p2j32PGcWw2T1wK9K/usol4pP2rMbiUYUyG5G7s6R8Efnfp7/5whbFESVVSOep4yiF WFVrh3SDPajXunQ6pv0zQGEISPL5/z/JMMZ7ksdmLqZAalKtngW+UBXK7vI+nYnOAbhZ wMV/ph6IJrPU7EJdNzC49myKb2ypdKUNixknIExcOYGW8FsNxHAh23duYledfBBhmFEN 7HFoMUqVsmP2V+DYW/rCammnvuvOwtfI97/8ev8MnNjqg6JTTQjptCzcHk4djynjepIe VyfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684956309; x=1687548309; h=content-disposition:mime-version:message-id:subject:to:date:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=y7tQVx5KhyZTfskaT4JOiAzqz+awNPLyNJW3eUvdWJ0=; b=HjnMJmuGcN2xOqBjTWbDf6ONrYJ3XMFQKlr2rvyCermUFzokeqzTX14ilGAKhpLDaD /KmFawkuiiWFKiRkovFb9rfClMkCH/FUGUX2pVnCJY5Bc0fMtIbI5OB21EAhNq2lsaR5 Ncy54XDnGjyy22dDGvEaMq8WsUSI1tYGwGZBnC6Q10qcmAqEa3zCq9FwEDCE+nj5wtOy hG2F4E4Jwu0VKbZqNM1cPlgquS4k2BXTeEaPq4PHmskEXwPUxQA/T4de2SkBVnpF/fpF m+rI+1oyr9eAPk5arMvW+3lSeGCMX6Rbl0J6fC17dl2/63fqynQ13DXEqRDepYywznq+ k5vQ== X-Gm-Message-State: AC+VfDw5R1FJB+Dnx+0c8TTOpa/hef6ot6V3w/oSfUDLET9hD+QYHqVl JpuPZ3C7+ka7EjFz2o7PaP4= X-Received: by 2002:a17:90a:4e03:b0:255:2e48:70b1 with SMTP id n3-20020a17090a4e0300b002552e4870b1mr14714631pjh.26.1684956308543; Wed, 24 May 2023 12:25:08 -0700 (PDT) Received: from yoga ([2400:1f00:13:9f5c:402c:d1ef:ec3f:b268]) by smtp.gmail.com with ESMTPSA id fr2-20020a17090ae2c200b002532d74fb59sm1683943pjb.22.2023.05.24.12.25.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 May 2023 12:25:08 -0700 (PDT) From: Anup Sharma X-Google-Original-From: Anup Sharma Date: Thu, 25 May 2023 00:55:00 +0530 To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC] Adding Support for Firefox's Gecko Profile Format Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello everyone, I'm happy to share that I'll be working on adding support for Firefox's Gecko profile format. This format is utilized by the Firefox profiler, which is a powerful tool for performance analysis and debugging. By enhancing the perf data command to generate perf.data files in the Gecko profile format, it will allow us to leverage the capabilities of the Firefox profiler for visualizing and analyzing the performance data. As a starter task, I have created a test for testing the perf data JSON converter command. I'm also looking for a few more starter tasks related to this project. I would greatly appreciate your advice and guidance. In my effort to identify any existing bugs, I have enabled flags like 'fsanitize=address' to detect potential issues but have not found any :). Additionally, I am running perf data commands to ensure that all use cases are handled properly. I have one question regarding the installation process. Typically, I navigate to the perf directory, run 'make', and then cp 'perf' to '/usr/bin'. However, I noticed that by default, perf is installed in the '~/bin/perf' directory. Could someone please clarify why this is the case? Furthermore, I would like to know how all of you compile the perf tree. Thank you for your support and I'm looking forward to collaborating with you on this project! Regards, Anup