Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp213008imn; Fri, 29 Jul 2022 05:00:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR5srl0r3beliepuT+Dj2rF3fDkDZxK70ckZDTIrnIMVH9G/cegpwI/pVhAj5f7N98fk7Txb X-Received: by 2002:a17:90a:d3cb:b0:1f1:82ca:3ba0 with SMTP id d11-20020a17090ad3cb00b001f182ca3ba0mr4506046pjw.236.1659096049050; Fri, 29 Jul 2022 05:00:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659096049; cv=none; d=google.com; s=arc-20160816; b=kWuUXYZVS1Hb9CF5fNa14tmE/8e11gBzriupwhyKpxzGdXycWnUFWawUBvEmvIOEdd ozeCAfwXZJb1gwMmleYDKaytEf5k6CMjsFym7lQQi6wXRsBRbeZ8sToAeQVCS+QDXB46 00mC5zSq+BmKeSQxwIXcQjwvusbbIhDZNXZMVyYJyo/gMl6tRJ1KPa8mFjDkjEA66mzU u6i/8inWVdYsqLdBbDX8Ki/VzNfMGiRhHR1Ufgkx38t1sjEM8Qv8b/GVeDGLTTtMNPM1 XiaGG6z5szuwsu1zZbmXHQy+3uZTLSEnjbP312FcgciWc82DtNLNOXk/n69G3C80F+qn h+RA== 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:date:from:dkim-signature; bh=0Xuom7KeE+vMz3QTfrPBFOV2WYw8OpJ11e3qMimq20E=; b=f/u7ecC+J8w6fxY7zAaOJO09ON/C6uYFrpFj4B1mbWqxVdln1vCALU4CoKgwS5GXfq tDKy2TMvXuensqFz0/z9ndaBUDdVH9uZgKmYDgNnsFZB7xaUdPU4h/adUAB1NiGg0HLW VHh8JCENzMOGf4iqeyqa17lg6+zW9ixk6lQg7hjumDIhJVZ8+/3UuK6zz8/FqWYYCTss AfNl4HsK0So012ynSMUZuBlZ0WWy09bYfogXlGKz/NmE53HV+wMZU2LIfIG6Fkz1FGFE fzMXPxGE5YgsvqU94SyjLo0cirrBBE3Ooe0JPNCf3k6vgcPPx85PwvYe7aN/ZJ5QdsXD stnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dtLPVMC7; 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 r126-20020a632b84000000b0041baf7abbf7si159923pgr.333.2022.07.29.05.00.33; Fri, 29 Jul 2022 05:00:49 -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=20210112 header.b=dtLPVMC7; 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 S235971AbiG2Lom (ORCPT + 99 others); Fri, 29 Jul 2022 07:44:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235301AbiG2Lol (ORCPT ); Fri, 29 Jul 2022 07:44:41 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FC4E87C37; Fri, 29 Jul 2022 04:44:39 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id r1-20020a05600c35c100b003a326685e7cso4199340wmq.1; Fri, 29 Jul 2022 04:44:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:from:to:cc; bh=0Xuom7KeE+vMz3QTfrPBFOV2WYw8OpJ11e3qMimq20E=; b=dtLPVMC7KDC765z96MZ3Dx/IsGnSS6qj7JOAICOp6BYAiPitXOc4MUpaWpz9/73/S5 c695iBMksI7+KIrOuahBWFLctSNA4h/FNq7sZ/n/4QXofTfLLvCtSVx74Lo8+mZi9Kgs BjzD8nvRLRQQt9SOgN6XrL4zito5COWpLx7/4WbRGxuX9WuzSBVnklTrF9NegCOxMd17 aqfpCFm4yBv21AJmzMK2qEkHrNZHV2iVoylI2jfXQacKH7EnrfqNtNGhvVdFCSXoZhOy mpT8Rd0gIDX55NsMYLESwUaPE9rIH3ST3Tr/fPDgl8os7TH24R8ppRqiR2fLv0W3KGXw P1FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:x-gm-message-state:from:to:cc; bh=0Xuom7KeE+vMz3QTfrPBFOV2WYw8OpJ11e3qMimq20E=; b=LsJCgaqoIbiZRMf9vZW3u6gS6pJk3DXgPiq2b4Lrcexn7paEFSM7yHxCK4j9udKHeS 7vWxaeGJmCt7D2L/GOkdYceKdlvB1rH5di7AIVGEfAEiJuWOiDv7k+17fCm4SOgfCGq/ F3bxWqehLc96Yg63L6OPOiaw8+0gzM2gQqatwGpT40YQufqE3/H6TvmAy69QdNtV3X0d sUS28/rRGwf//PyqEIUpvj9Ja4OwDIsOZq1mWWHzkvkk+m1PBk1aMsQGOpOkjuyRrM/t Ze0KJKwixnO75XKkiwGP82/i4DX11is+T6tDnd2pkq1xXI0a4YFlfx//HSv4OVpWM9yu 6Bbg== X-Gm-Message-State: AJIora+stvv3JvmWAzQvUp+xEE017D4ZhTJ0hICAJuJGDRqYYe+H04jF 8aabw1nOAQOFl6RFnMsmUyg= X-Received: by 2002:a05:600c:3786:b0:3a3:19d4:293f with SMTP id o6-20020a05600c378600b003a319d4293fmr2642663wmr.116.1659095077651; Fri, 29 Jul 2022 04:44:37 -0700 (PDT) Received: from krava ([193.85.244.190]) by smtp.gmail.com with ESMTPSA id d3-20020adffbc3000000b0021e297d6850sm3275970wrs.110.2022.07.29.04.44.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Jul 2022 04:44:37 -0700 (PDT) From: Jiri Olsa X-Google-Original-From: Jiri Olsa Date: Fri, 29 Jul 2022 13:44:34 +0200 To: Ian Rogers Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Namhyung Kim , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Stephane Eranian Subject: Re: [PATCH v2] perf parse-events: Break out tracepoint and printing. Message-ID: References: <20220707191209.273065-1-irogers@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220707191209.273065-1-irogers@google.com> 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 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 On Thu, Jul 07, 2022 at 12:12:09PM -0700, Ian Rogers wrote: > Move print_*_events functions out of parse-events.c into a new > print-events.c. Move tracepoint code into tracepoint.c or > trace-event-info.c (sole user). This reduces the dependencies of it seems like it'd be better to have those changes in separated patches, at least for review jirka > parse-events.c and makes it more amenable to being a library in the > future. > Remove some unnecessary definitions from parse-events.h. Fix a > checkpatch.pl warning on using unsigned rather than unsigned int. > Fix some line length warnings too. > > v2. Rebase in particular after hybrid PMU changes. > > Signed-off-by: Ian Rogers SNIP