Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp70931rwb; Thu, 6 Oct 2022 14:43:07 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6VNblWfnqeN0EMj/jFiZ2srwwcof0XF+37+4rzx2XV+cU1hgw67/6Zqba8jEPM1EWVJftF X-Received: by 2002:a63:211d:0:b0:44e:f294:8440 with SMTP id h29-20020a63211d000000b0044ef2948440mr1592309pgh.103.1665092587144; Thu, 06 Oct 2022 14:43:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665092587; cv=none; d=google.com; s=arc-20160816; b=hw0pmpNmw3yoe3RvmeBgmc4BuLZ8bT9vP6MTqDSlAn+oeBV8+rvX4V0eweP4JwRTky 9/4EYR4JjSdylmKex6/a5qmDzyIueDweF6Nvi8++m203ku78oC+eEgSf3NQurWtyLLnm ns+4AW26P7/iNheqh0/w37f0wSkX+XFuhNlX/B9bpBF1XVEjSUOx4lFJWAA2NURbeFvX iKPT0AMTrxPA4aQYRz0lwgJer7d3wmBk7i89lHsVPZbuzALkYG8SvGZephzyWvpJzbep pzha5N3ls6anHoQ5MG7LpbliJQ/eaD12ZjrB7DA8SRJgIAS04o36rdnnQFAYep/Xikiv MYxQ== 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; bh=fZZG19+Cz2tw731eytg/FIEmUCyTWTdPzaoYidWqD2o=; b=xqC0kdb585UYDHvToC6ZaHkQEH0AzbFVJEUulu8tbi7QuWlt5EF9KyN9Cle23y5IW1 FbP9ALvvHjglOFfMuqeq29Mt3poVvp9l73Im4tnbKBAG0Wu0Q4KdgBaFUuE+yfLTNala v3u7cUkpV9QXvW4ZLBQJMJyB+Q2T+oqO2Cq/B0xzPn4ccpyop4tdDRUSt7bMsjO5WEjs gw5MNdsPWvXEMChV5rj+sT0/qtoPpe5qME9ujStGvEzs5eS7vHNv8dx+bqoomx78CbcT AWTcfv3NAwsbIqk2MqFuDAJ62hTYz/XYghGoymDcKLoJacJnF/S7T95OL4wewbxUOUlU xe1A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b16-20020a63cf50000000b0044cf4082645si696981pgj.28.2022.10.06.14.42.53; Thu, 06 Oct 2022 14:43:07 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232222AbiJFUnZ (ORCPT + 99 others); Thu, 6 Oct 2022 16:43:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232002AbiJFUnV (ORCPT ); Thu, 6 Oct 2022 16:43:21 -0400 Received: from vmicros1.altlinux.org (vmicros1.altlinux.org [194.107.17.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 92DB025E8D; Thu, 6 Oct 2022 13:43:19 -0700 (PDT) Received: from mua.local.altlinux.org (mua.local.altlinux.org [192.168.1.14]) by vmicros1.altlinux.org (Postfix) with ESMTP id 0F7F072C97D; Thu, 6 Oct 2022 23:43:18 +0300 (MSK) Received: by mua.local.altlinux.org (Postfix, from userid 508) id E45DE7CF8EC; Thu, 6 Oct 2022 23:43:17 +0300 (MSK) Date: Thu, 6 Oct 2022 23:43:17 +0300 From: "Dmitry V. Levin" To: Vitaly Chikunov , Jiri Olsa , Arnaldo Carvalho de Melo , Ian Rogers Cc: linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo Subject: Re: [PATCH] libperf: Remove reference to non-uapi header Message-ID: <20221006204317.GB11960@altlinux.org> References: <20221006162919.2231389-1-vt@altlinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221006162919.2231389-1-vt@altlinux.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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, Oct 06, 2022 at 07:29:19PM +0300, Vitaly Chikunov wrote: > Fix build with libperf: > > $ gcc ./tools/lib/perf/Documentation/examples/counting.c -lperf > In file included from ./tools/lib/perf/Documentation/examples/counting.c:8: > /usr/include/perf/event.h:9:10: fatal error: linux/compiler.h: No such file or directory > 9 | #include > | ^~~~~~~~~~~~~~~~~~ > compilation terminated. > > Fixes: b2f10cd4e805 ("perf cpumap: Fix alignment for masks in event encoding") > Cc: Ian Rogers > Signed-off-by: Vitaly Chikunov Reviewed-by: Dmitry V. Levin -- ldv