From patchwork Wed Nov 16 07:22:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Rogers X-Patchwork-Id: 1715 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a40e:b0:83:7221:86ba with SMTP id ck14csp252388dyb; Tue, 15 Nov 2022 23:28:02 -0800 (PST) X-Google-Smtp-Source: AA0mqf7fv6zpZ49/LYzXbEbKcIOnc/UxlshlBj7AYLtxuTgXNdytXnyedBp+KOwA1Q1RpiOBUOxd X-Received: by 2002:a17:906:cec2:b0:78c:895e:2ff9 with SMTP id si2-20020a170906cec200b0078c895e2ff9mr16721435ejb.403.1668583682474; Tue, 15 Nov 2022 23:28:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668583682; cv=none; d=google.com; s=arc-20160816; b=sn4RvTj0AoaKqxUBHpK+qjsMi6JQiln+PUl7jI2OQqoejLcHNjN2fL4jDeQupVr9y/ 2xqwXVoFPfLkrwpV9R1FtvICFnnqGzV2u5lzA/dxL37ty/x2ntizrBr7DkbZQ+7AYfEi +4ymV+FOe4Phkq2D2+j0gjyQOeBt1xUZEb7laxjLvw2NNEu0SBrVwMZzgRfs8HYYkTYz 7GOrGGx1564q5GMg91jkzykM8x70XMYGrg2Yw3EwUb8jucmNz2ifCjSKGBJoauyBxp+B hz8bHqdrxDgJP48lxEnpFp47TxJOFBdvFCtwiT2ViODkORXqqA3W5umdx1mHyPuWNUQN 3l2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:mime-version:message-id:date :dkim-signature; bh=VVBCM8+4ewIYbqSIURDFLLj3mOBnhhjT5+m4tbboLyQ=; b=Ej5lJxdXHhh3vssW4kGWJiH79R9l/1KMA2YJa9UgiA6sa9crTt6B+lIBMrs3jwAwIo ZQ9fmPP2MedhMhrN4qYJnbnb5/sOWq6fDzqMJJSPVWR00gyc7aC4WKrXWhQVX54f60ug d1y+l9hOYRM/+wJy9ClxsrEIA5IYWJIajTcYCigz95jgXchSjIQN1Te+FeTNSq/k0LNW WUHLGGoXzZQzmbojwkmwNFRY5NxELGDHm6mRmax9/xqPCaozeCtzGytMogXqMYspolTm JTPBPg1ZnhWUL6Qm9K5XmfyLueKVCdUXZZvHUWrHH8HoP0UNBqsMncbqJbELp1vFX6xn oqyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=T2CTy0cX; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b11-20020a17090630cb00b00711da52c6e4si9547555ejb.309.2022.11.15.23.27.38; Tue, 15 Nov 2022 23:28:02 -0800 (PST) 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=@google.com header.s=20210112 header.b=T2CTy0cX; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229907AbiKPHWS (ORCPT + 99 others); Wed, 16 Nov 2022 02:22:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229826AbiKPHWQ (ORCPT ); Wed, 16 Nov 2022 02:22:16 -0500 Received: from mail-yw1-x114a.google.com (mail-yw1-x114a.google.com [IPv6:2607:f8b0:4864:20::114a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA1C3A18F for ; Tue, 15 Nov 2022 23:22:15 -0800 (PST) Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-367f94b9b16so156237687b3.11 for ; Tue, 15 Nov 2022 23:22:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:mime-version:message-id:date:from:to:cc:subject :date:message-id:reply-to; bh=VVBCM8+4ewIYbqSIURDFLLj3mOBnhhjT5+m4tbboLyQ=; b=T2CTy0cXc+GbTTmMdiCb9Zgs01lpkfqGh1mujEL0GETIM00jpRJOTM9isl/57BYYpO am7/2xYPhQGL51IQmeSydcgTMgOaCbBe/iWEF/1QaNs4uMmDGOjEvr6tThLTBP3xiTiu qHPrsTyARDCHIwmhf8qzvhgHN23WAFC155FXfQcUEMwQV117ZtFFqH+O50YFhgh70Lma P1Jyk6OLy9hgpbPJwnr+QQng0IkyDGXVKgZgY8bk5ZQGLHQ6yXAPN9Ft9qPzLO7+v4EV GNSDYjSHCj6mSU/5ZwuQxW88YpPNfWX0MEcWIElm4vIJpR4TkovIKaI5bhMOUMYLpEAD QKxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:mime-version:message-id:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=VVBCM8+4ewIYbqSIURDFLLj3mOBnhhjT5+m4tbboLyQ=; b=szu39fpqH0oXE7ydrM+C6gd/M9eK3Zwb/GlLAZ7dduUSelcc1C3LjNLANzxQGK1gpM 46M6lLlWs+FpC43y2Aow5CsPXGx0QDLdQ/ejKzrz9OzGXOL55OqoWl7I6w1APH3zwp2h CfyLy1+QoYYiDy5cNuNaBWwxUABq6MjFh49Qi1HJuEBDlG/4h3crmEaMHvlryu0kSRuR 9LR8BOqV37JeAnuWA1ia3JjoD7QW0a2xLdwkt8Ee4VC8ZU+V9SfnaCjGiU4HHICMDchV 0RW8i/iJtgTkcPOwkGVn6+hpn7CpB5762oREI1VJtoI1uZKJU3V2YoWCTaqOffiSEnTm kjyQ== X-Gm-Message-State: ANoB5pnAwzG8moO2pVxr/snFk1qRoKbtB9uxp1IgOcFJ/h+zpDRzwJ+H uiMfJ0ovRhFtRcRXWsgTz0kSfLzPVYgu X-Received: from irogers.svl.corp.google.com ([2620:15c:2d4:203:bf0f:58f3:342e:c1ec]) (user=irogers job=sendgmr) by 2002:a05:6902:10c4:b0:6ca:1f22:2bed with SMTP id w4-20020a05690210c400b006ca1f222bedmr19587576ybu.462.1668583335191; Tue, 15 Nov 2022 23:22:15 -0800 (PST) Date: Tue, 15 Nov 2022 23:22:10 -0800 Message-Id: <20221116072211.2837834-1-irogers@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.38.1.431.g37b22c650d-goog Subject: [PATCH 0/1] Fix perf tools/lib includes From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Masahiro Yamada , Nicolas Schier , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, bpf@vger.kernel.org, Nick Desaulniers , Andrii Nakryiko Cc: Stephane Eranian , Ian Rogers X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748912685335033811?= X-GMAIL-MSGID: =?utf-8?q?1749636803209914601?= This patch replaces the last on kernel/git/acme/linux.git branch perf/tools-libs-includes and fixes the race issue by using the prepare dependency. pmu-events.c needs this dependency too, as the header files it includes also include libperf - using perpare as a dependency rather than $(LIBPERF) is more consistent with the rest of the makefile. Ian Rogers (1): perf build: Use tools/lib headers from install path tools/perf/Makefile.config | 2 -- tools/perf/Makefile.perf | 14 +++++++++++++- 2 files changed, 13 insertions(+), 3 deletions(-)