Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1742435pxk; Sat, 19 Sep 2020 00:25:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6TasEdQnWqh4F8+gmpg+8t1F68b+aMSGYu9pinZ46+sv9cUDKTsZliNAjcSFJUA7apJSh X-Received: by 2002:a50:d9c1:: with SMTP id x1mr43293530edj.283.1600500302977; Sat, 19 Sep 2020 00:25:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600500302; cv=none; d=google.com; s=arc-20160816; b=PTXGYFS0Uzuwbl79jF15R5QVLkmM2w42Ely5D2Xeg1DyVqBNpNocN1P3XQJ/WaNUdN UL4A5oO1KEvcL6hdaCiQUPGP/dYQsZeftkIlHuPj+JgLmxERl2TXkCzsMrXTgDJrEYc9 9Y9ZkU28jjHu5g/ndUm6QMrN47dDHN9fowCF+0TJjoeGWmnu40mLN5516SapI6+X0OB3 rqWoagGpQrjLLv8dNI9uY8WKioBxS4v/VZG8V1dr2chrrfUvdXwIt5zdAfXkqxWAQxlh nneabSMyGbro6IwDb/UkErMUasUpXa2zi9Bim8LHAVO4TDEGt/VVaIvqNRwCwVvipOZD MOKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=IvmPAxgP+DvXbMkceAYl+KYSZpO0LaK7GZqVCMHGftc=; b=0P5G/6AjS/W3wPftU5RovpH7kruLDsKPMA9A5IhOgykGe1CATnZ/XBuCQil+wNIHOs uILT4uqP/TQBcePl8dwtLXpXOGDTdROeKlYQ6k2CHLT6oFU2RR7LiE1BTHO7XQIJ4gXW WGuh3qbteBLYlKBrhMqypMisAe4mlf/mFaUUT+OuGv1KjcHX1fviExVt0hjoLtwh0OPC QSvJI2s8/YxPDQ0uYuvJp7RkDs1kXrVsgopZWxSY2XT9G0IgJc9y/I+qDQUkpGk0jkl8 We/Ah0WfyWI3kaRyKEmg5kjlmOfDzVVpEgFEHrnyYj9UJsaMyz4QI7WcjmBiorNkFR3f dZig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QDoEUzO4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id os2si3931787ejb.112.2020.09.19.00.24.38; Sat, 19 Sep 2020 00:25:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QDoEUzO4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726273AbgISHW5 (ORCPT + 99 others); Sat, 19 Sep 2020 03:22:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726157AbgISHW5 (ORCPT ); Sat, 19 Sep 2020 03:22:57 -0400 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FE51C0613CE for ; Sat, 19 Sep 2020 00:22:57 -0700 (PDT) Received: by mail-pl1-x644.google.com with SMTP id e4so4164744pln.10 for ; Sat, 19 Sep 2020 00:22:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=IvmPAxgP+DvXbMkceAYl+KYSZpO0LaK7GZqVCMHGftc=; b=QDoEUzO4+TSzn+OC+O8mO8r/j5qpSjKCtSvXjB/jd1fWy6fLA2nLzsjPIaJRrGUJ69 2TMI/AoPobnFlT5TzNMtx+m7zgklvlLPk3NX76XJzZxBAZRL2CJ6G6zl/7lo+kkqYHwC UeTAYSS90yobpXZitTxV/2I8f3kM/p2YDCAqhjUQYtoF2NUU7fJFbF9xK+9lqjuMAo0l BIzzSNYQJibo4aBMJfpD/0kWBLExnEIhbKg5bIdi7TITRWrqlZIgFszRjc5yGl2IzYgc rlvfd2YuvlR0QXqT3IRFs8m3uVfl/nWXa5llsH3XkGLAWkrXY0oVkqjKdoIob7HwjMg/ V0Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=IvmPAxgP+DvXbMkceAYl+KYSZpO0LaK7GZqVCMHGftc=; b=blJamaCm+3FXPrATn+p8SrIGmgaN7gHKiSc6NjJxII6Io37jdBcgOt0vLMRR0SmySt tzJsBCGVRZFBftPLrXWTKX8Qerbe5FkfTHO+tuiij3zwaQZhqfa0kuRIhq+tU6wlgarC QgufY81B86H+x1XfzgXK/MBOhWP3FZ9KkOiKdPXW//RkkSlaboXmspolD5vejYbkYILb i8Vi3YH8rPjDIyji/Fyxj1AhAcaqLe2s1XA91WgT2F4/pLb1uDdSl2sq0YJbpeCvXb6t wdAvEm0+7EFDxRzo5RdXMf40aIYIKxdeVbIDVBvkR1jVkEBJwMTR1BycLFfb30NFjGp5 ykKQ== X-Gm-Message-State: AOAM530C74c3b74AB7+k1XwOpZgoyrbNYmmnYOUzKTnhdXEchCxEVmx8 NeaI++/KL0bRoST7dCiWUkGIdHI9BejGNUwCMdQ= X-Received: by 2002:a17:902:b716:b029:d1:e598:400c with SMTP id d22-20020a170902b716b02900d1e598400cmr18602735pls.70.1600500176674; Sat, 19 Sep 2020 00:22:56 -0700 (PDT) MIME-Version: 1.0 References: <20200911215118.2887710-1-robh@kernel.org> <20200912205317.GG1714160@krava> In-Reply-To: From: Itaru Kitayama Date: Sat, 19 Sep 2020 16:22:45 +0900 Message-ID: Subject: Re: [PATCH v3 0/10] libperf and arm64 userspace counter access support To: Rob Herring Cc: Alexander Shishkin , Arnaldo Carvalho de Melo , Catalin Marinas , Honnappa Nagarahalli , Ian Rogers , Ingo Molnar , Jiri Olsa , Jonathan Cameron , Mark Rutland , Namhyung Kim , Peter Zijlstra , Raphael Gault , Will Deacon , linux-arm-kernel , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rob, V3 fails to build on ThunderX2: $ make BUILD: Doing 'make -j224' parallel build Auto-detecting system features: ... dwarf: [ on ] ... dwarf_getlocations: [ on ] ... glibc: [ on ] ... gtk2: [ OFF ] ... libbfd: [ on ] ... libcap: [ on ] ... libelf: [ on ] ... libnuma: [ on ] ... numa_num_possible_cpus: [ on ] ... libperl: [ on ] ... libpython: [ on ] ... libcrypto: [ on ] ... libunwind: [ OFF ] ... libdw-dwarf-unwind: [ on ] ... zlib: [ on ] ... lzma: [ on ] ... get_cpuid: [ OFF ] ... bpf: [ on ] ... libaio: [ on ] ... libzstd: [ on ] ... disassembler-four-args: [ on ] Makefile.config:604: No libunwind found. Please install libunwind-dev[el] >=3D 1.1 and/or set LIBUNWIND_DIR Makefile.config:730: GTK2 not found, disables GTK2 support. Please install gtk2-devel or libgtk2.0-dev Makefile.config:965: No libbabeltrace found, disables 'perf data' CTF format support, please install libbabeltrace-dev[el]/libbabeltrace-ctf-dev Makefile.config:1009: No openjdk development package found, please install JDK package, e.g. openjdk-8-jdk, java-1.8.0-openjdk-devel CC arch/arm64/tests/user-events.o CC arch/arm64/tests/arch-tests.o In file included from arch/arm64/tests/arch-tests.c:4: /home/users/itaru.kitayama/projects/linux/tools/perf/arch/arm64/include/arc= h-tests.h:10:5: error: redundant redeclaration of =E2=80=98test__arch_unwind_sample=E2=80= =99 [-Werror=3Dredundant-decls] int test__arch_unwind_sample(struct perf_sample *sample, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from arch/arm64/tests/arch-tests.c:3: /home/users/itaru.kitayama/projects/linux/tools/perf/tests/tests.h:134:5: note: previous declaration of =E2=80=98test__arch_unwind_sample=E2=80=99 wa= s here int test__arch_unwind_sample(struct perf_sample *sample, ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[6]: *** [/home/users/itaru.kitayama/projects/linux/tools/build/Makefil= e.build:97: arch/arm64/tests/arch-tests.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from arch/arm64/tests/user-events.c:13: /home/users/itaru.kitayama/projects/linux/tools/perf/arch/arm64/include/arc= h-tests.h:10:5: error: redundant redeclaration of =E2=80=98test__arch_unwind_sample=E2=80= =99 [-Werror=3Dredundant-decls] int test__arch_unwind_sample(struct perf_sample *sample, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from arch/arm64/tests/user-events.c:12: /home/users/itaru.kitayama/projects/linux/tools/perf/tests/tests.h:134:5: note: previous declaration of =E2=80=98test__arch_unwind_sample=E2=80=99 wa= s here int test__arch_unwind_sample(struct perf_sample *sample, ^~~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/tests/user-events.c: In function =E2=80=98perf_init=E2=80=99: arch/arm64/tests/user-events.c:106:7: error: too few arguments to function =E2=80=98perf_evsel__mmap=E2=80=99 if (!perf_evsel__mmap(evsel)) { ^~~~~~~~~~~~~~~~ In file included from arch/arm64/tests/user-events.c:8: /home/users/itaru.kitayama/projects/linux/tools/lib/perf/include/perf/evsel= .h:31:19: note: declared here LIBPERF_API void *perf_evsel__mmap(struct perf_evsel *evsel, size_t length= ); ^~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[6]: *** [/home/users/itaru.kitayama/projects/linux/tools/build/Makefil= e.build:97: arch/arm64/tests/user-events.o] Error 1 make[5]: *** [/home/users/itaru.kitayama/projects/linux/tools/build/Makefil= e.build:139: tests] Error 2 make[4]: *** [/home/users/itaru.kitayama/projects/linux/tools/build/Makefil= e.build:139: arm64] Error 2 make[3]: *** [/home/users/itaru.kitayama/projects/linux/tools/build/Makefil= e.build:139: arch] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile.perf:634: perf-in.o] Error 2 make[1]: *** [Makefile.perf:233: sub-make] Error 2 make: *** [Makefile:70: all] Error 2 On Wed, Sep 16, 2020 at 11:50 AM Rob Herring wrote: > > On Mon, Sep 14, 2020 at 5:14 PM Itaru Kitayama = wrote: > > > > Could you point us to your repo too? > > Sure, pushed a branch here: > > git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git user-perf-ev= ent-v3 > > Rob