Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1881266ybl; Sun, 18 Aug 2019 12:41:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqx49UHZYQp8ijDncVFNJB9oIqX2xdBTL5uavtcfpRQhlbzvCsN6wkA7lK8eYAgmfMZYswSh X-Received: by 2002:a17:902:fe93:: with SMTP id x19mr13645655plm.307.1566157306807; Sun, 18 Aug 2019 12:41:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566157306; cv=none; d=google.com; s=arc-20160816; b=Ys210Vovx6OvrNUjTctPtcW5tmqPZnVkVJq6sZdtNjKl/+xUi+1US62U4babtZ8Smr RFDW9J4xUh6cnuH1urBPT75k0SDvELvwDjnP2d62BILq+GaQhiXGE3gjF8f9+QlWpfeU 6FN01Od8x7cGUER10Gou+JXZwW39Ey3Hg39/JHZd4Y0DB+UBKEmoQEJG46wXdNQm2X0r DSnRrv2dK8XWaFQ87HY5yyKdzTJ1KM+O6CzjBGbwUsgghNd6YyEItmL3LJbJ14lYQHTK sD8DT5TFjKruXKMCsgK4L3owB2TiYIkQ2voJaWsR/lmr+WZrcwz6A23jfJ3trjg/NUPe i1Ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=3XTvioEWRHg8Z+rUO4COTKN2WrVjTitBr56KgOCfK9A=; b=x7muk/9BWeQrY4E6/+9H7zjJZbfpfYJCfGaAuyFR+nmfPYc+nVTZCGH9f6Ac/5D65K GC2AiE7R/Ww7tKhVCgJuB1FyjDS3xGLwmOGGXfZowf6gdywalg8kmrvAZPecPskxcwzO U8QzXyg5CHNdlwNMBmrHOUTtrOZipAwcoXwvWhEUBzjo1ky17MzDtJVjL0opJOX48BxO AF2NK9xddCmzt7RHfeetAS31fnWHW72+FbNWkERDHyXY4Ti1p1k+G1VJO5y+mMP5BGwc w8GnjlXYTCAc4ptc6QmXLbrYY4OTiPM0dVZwaDx9rO0uYeMaDC5H4N3S44/dj2exR3oq uDFw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y16si8991652pfc.51.2019.08.18.12.41.32; Sun, 18 Aug 2019 12:41:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727093AbfHRTkh (ORCPT + 99 others); Sun, 18 Aug 2019 15:40:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4885 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726005AbfHRTkh (ORCPT ); Sun, 18 Aug 2019 15:40:37 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 51B241955CF3; Sun, 18 Aug 2019 19:40:36 +0000 (UTC) Received: from krava (ovpn-204-21.brq.redhat.com [10.40.204.21]) by smtp.corp.redhat.com (Postfix) with SMTP id 740405FCA3; Sun, 18 Aug 2019 19:40:33 +0000 (UTC) Date: Sun, 18 Aug 2019 21:40:32 +0200 From: Jiri Olsa To: Guenter Roeck Cc: Jiri Olsa , Arnaldo Carvalho de Melo , lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Andi Kleen , Alexey Budankov , Michael Petlan Subject: Re: [PATCH 28/79] libperf: Add perf_cpu_map struct Message-ID: <20190818194032.GA10666@krava> References: <20190721112506.12306-1-jolsa@kernel.org> <20190721112506.12306-29-jolsa@kernel.org> <20190818140436.GA21854@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190818140436.GA21854@roeck-us.net> User-Agent: Mutt/1.12.1 (2019-06-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.62]); Sun, 18 Aug 2019 19:40:36 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 18, 2019 at 07:04:36AM -0700, Guenter Roeck wrote: > On Sun, Jul 21, 2019 at 01:24:15PM +0200, Jiri Olsa wrote: > > Adding perf_cpu_map struct into libperf. > > > > It's added as a declaration into into: > > include/perf/cpumap.h > > which will be included by users. > > > > The perf_cpu_map struct definition is added into: > > include/internal/cpumap.h > > > > which is not to be included by users, but shared > > within perf and libperf. > > > > We tried the total separation of the perf_cpu_map struct > > in libperf, but it lead to complications and much bigger > > changes in perf code, so we decided to share the declaration. > > > > Link: http://lkml.kernel.org/n/tip-vhtr6a8apr7vkh2tou0r8896@git.kernel.org > > Signed-off-by: Jiri Olsa > > Hi, > > this patch causes out-of-tree builds (make O=) to fail. > > In file included from tools/include/asm/atomic.h:6:0, > from include/linux/atomic.h:5, > from tools/include/linux/refcount.h:41, > from cpumap.c:4: tools/include/asm/../../arch/x86/include/asm/atomic.h:11:10: > fatal error: asm/cmpxchg.h: No such file or directory > > Bisect log attached. hi, I dont see any problem with v5.3-rc4, could you please send the full compilation log (after make clean) from: $ make V=1 also I can't make sense of that bisect, because I can't find some of those commits.. what tree are you in? thanks, jirka > > Guenter > > --- > # bad: [0c3d3d648b3ed72b920a89bc4fd125e9b7aa5f23] Add linux-next specific files for 20190816 > # good: [d45331b00ddb179e291766617259261c112db872] Linux 5.3-rc4 > git bisect start 'HEAD' 'v5.3-rc4' > # good: [4e6eaeb715ab76095f7ea03fa5926c7aa541361e] Merge remote-tracking branch 'crypto/master' > git bisect good 4e6eaeb715ab76095f7ea03fa5926c7aa541361e > # good: [ef1c67aa73f33a29e3df672998056f18cb51468d] Merge remote-tracking branch 'sound-asoc/for-next' > git bisect good ef1c67aa73f33a29e3df672998056f18cb51468d > # bad: [f414a0d92534d55591e3c295f37f8db40d08659a] Merge remote-tracking branch 'char-misc/char-misc-next' > git bisect bad f414a0d92534d55591e3c295f37f8db40d08659a > # bad: [07f45358f90398b3bc44914a863317285a5dac55] Merge remote-tracking branch 'tip/auto-latest' > git bisect bad 07f45358f90398b3bc44914a863317285a5dac55 > # good: [b8c9806513153eb258f565b2f359958a94c93816] Merge remote-tracking branch 'watchdog/master' > git bisect good b8c9806513153eb258f565b2f359958a94c93816 > # bad: [7b9063c0c1c0b54db5eca8e4c36a926ee6234280] Merge branch 'sched/core' > git bisect bad 7b9063c0c1c0b54db5eca8e4c36a926ee6234280 > # bad: [03617c22e31f32cbf0e4797e216db898fb898d90] libperf: Add threads to struct perf_evlist > git bisect bad 03617c22e31f32cbf0e4797e216db898fb898d90 > # good: [5972d1e07bd95c7458e2d7f484391d69008affc7] perf evsel: Rename perf_evsel__open() to evsel__open() > git bisect good 5972d1e07bd95c7458e2d7f484391d69008affc7 > # bad: [285a30c36d1e18e7e2afa24dae50ba5596be45e7] libperf: Add perf_evlist and perf_evsel structs > git bisect bad 285a30c36d1e18e7e2afa24dae50ba5596be45e7 > # good: [47f9bccc79cb067103ad5e9790e0d01c94839429] libperf: Add build version support > git bisect good 47f9bccc79cb067103ad5e9790e0d01c94839429 > # bad: [397721e06e52d017cfdd403f63284ed0995d4caf] libperf: Add perf_cpu_map__dummy_new() function > git bisect bad 397721e06e52d017cfdd403f63284ed0995d4caf > # good: [5b7f445d684fc287a2101e29d42d1fee19ae14ff] libperf: Add perf/core.h header > git bisect good 5b7f445d684fc287a2101e29d42d1fee19ae14ff > # bad: [959b83c769389b24d64759f60e64c4c62620ff02] libperf: Add perf_cpu_map struct > git bisect bad 959b83c769389b24d64759f60e64c4c62620ff02 > # good: [a1556f8479ed58b8d5a33aef54578bad0165c7e7] libperf: Add debug output support > git bisect good a1556f8479ed58b8d5a33aef54578bad0165c7e7 > # first bad commit: [959b83c769389b24d64759f60e64c4c62620ff02] libperf: Add perf_cpu_map struct