From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753929AbdK2JRS (ORCPT ); Wed, 29 Nov 2017 04:17:18 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:43720 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753308AbdK2JRP (ORCPT ); Wed, 29 Nov 2017 04:17:15 -0500 Date: Wed, 29 Nov 2017 10:17:06 +0100 From: Heiko Carstens To: Arnaldo Carvalho de Melo Cc: Ingo Molnar , Hendrik Brueckner , Thomas Richter , Martin Schwidefsky , Adrian Hunter , David Ahern , Jiri Olsa , Namhyung Kim , Wang Nan , Linux Kernel Mailing List Subject: Re: [FIX] perf tools broken for s/390 References: <20171128144611.GF3298@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171128144611.GF3298@kernel.org> X-TM-AS-GCONF: 00 x-cbid: 17112909-0020-0000-0000-000003D1DAA0 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17112909-0021-0000-0000-000042674550 Message-Id: <20171129091706.GA4061@osiris> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-11-29_03:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=2 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1711290116 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 28, 2017 at 11:46:11AM -0300, Arnaldo Carvalho de Melo wrote: > Hi, > > While preparing a pull request to Ingo for this merge window, I > noticed a regression in one of my cross build containers, specifically: > > ubuntu:16.04-x-s390: FAIL > > LINK /tmp/build/perf/plugin_jbd2.so > In file included from util/perf_regs.h:27:0, > from util/event.h:11, > from util/symbol.h:16, > from util/block-range.h:5, > from util/block-range.c:2: > /git/linux/tools/perf/arch/s390/include/perf_regs.h:6:62: fatal error: ../../../../arch/s390/include/uapi/asm/perf_regs.h: No such file or directory > compilation terminated. > In file included from util/perf_regs.h:27:0, > from util/event.h:11, > from util/symbol.h:16, > from util/sort.h:12, > from util/annotate.c:14: > /git/linux/tools/perf/arch/s390/include/perf_regs.h:6:62: fatal error: ../../../../arch/s390/include/uapi/asm/perf_regs.h: No such file or directory > compilation terminated. ... > +#ifndef ARCH_PERF_REGS_H > +#define ARCH_PERF_REGS_H > + > +#include > +#include > +#include <../../../../arch/s390/include/uapi/asm/perf_regs.h> > > ------------------------------------------ > > That will try to include a file from the kernel sources, directly, > something we long decided to be verbotten to avoid disturbing kernel > development (and perf's and other tools/) when, say, a kernel hacker > adds something, tests everything but tools/ and have tools/ build > broken. ... Sorry about that, and thanks for fixing it! > In the future, please send patches that touch tools/perf/ to me, > > The resulting patch is at: > > https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git/commit/?h=perf/urgent&id=12507d0fc07ce2fa6ccdcdde819f26c4acb0d839 Will do. Thanks!