Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1637485yba; Fri, 17 May 2019 02:43:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqzUQvh9uiZnS+bBpQvv2TS0eA0yrKhwvAw2U7ODHYH4tdv8w82YONJtkBG36xSNXE12zgAL X-Received: by 2002:a63:c046:: with SMTP id z6mr56215700pgi.387.1558086231933; Fri, 17 May 2019 02:43:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558086231; cv=none; d=google.com; s=arc-20160816; b=nS9s6hYvoQXUUPsiSmpH8IZAAKsRttGNduYt6jMway72FETVr9IXcSsD21jzYP7fc3 jUdEkvkJFmZI+n8xXqBWKGLzRbq85guMUKQFzKT+ka+LZgEX2d3Y6rCWPDWd0Df56c0u B6l9rPAJWIfpxBlhpDi8nvQrSE37HijmQrNtb3FmI3SPNIvu2XGjZq/NGpLc6QgL08UF mrQZ9iMqeGcQHJGqo0dVrOhd7cKw6uTClLi3o9kdKHKo6uXV4zlxUvKz+eRtUyQf3olU jwucG0r5oYNq6AN5SgkUNd5rdjLcVXTkgtcePkJWVcou0UYCfL5orMALN5+a1w3vKzNP OZ2g== 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:dkim-signature; bh=CJyIw/+rjKasvY8yMkFNMy6qA00M4WMYrpzsHPZXP0o=; b=FJ1hXN53Ni4YBgAowR9jTGSQUb8UUr6DDsRmeTj/xCo/chLR65aPM5exFmACbKQvUF +yrngEzWnOjqM4N3pUPeR1pi9jIcR+p71oOwEoMgG5JPMLwcxJw23js7Vyz1e1NOj+WP eetfKXGDiaEwSkS3mvLt6rftBsGLuZeLcmL1U8Q7oTJxzD6RUyliMhlClkL1zJ/mHNRy BAYoXCV1gle+aLgxFjAD2k13Y3bKVoCPIVTDLlH8sRIfoKd8MtPNCoaoZPTXahZtD9bG V600mJnGz7EvpaMGnvlgrXKcLse/db7+WxE2J/vzBTjPRw6ex1a0PZF/zHeCeGD6tarw fHIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=SKmI1NEQ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f197si8437435pfa.276.2019.05.17.02.43.37; Fri, 17 May 2019 02:43:51 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=SKmI1NEQ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728762AbfEQJKs (ORCPT + 99 others); Fri, 17 May 2019 05:10:48 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:40992 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727620AbfEQJKs (ORCPT ); Fri, 17 May 2019 05:10:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=CJyIw/+rjKasvY8yMkFNMy6qA00M4WMYrpzsHPZXP0o=; b=SKmI1NEQDf0K6UeUHIvTwBCD6 0gNAHx3VCb4KiNi5xS4/Dd8NPHqgyaRxLzvW5SPXElZG0Te2fn9jiDuupxq5/jvAMS39JHcKgYy0z S5A1gZxlM6I9ubC+SGpLHy3c4Ck2l0xz+wCjlOcaskWUYvO5PhQWjpg34ce1XniaPJYllL21aXNXK n7WdXv2NYxJB2xbOqnGL0rIHH7lBw2I/oNa3H62OER5aTjCX/3egb5+/k4cftAnlYwvMpgsBcZIzs mHQ1V8RoyaO4tfV3wshfJmzjjmc5AeWkXeGDqKeBMSnzDlkpjx0qqNPdm2TTyopKZNEfS5wg8ZV9O QIls9CoWA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hRYt4-00034I-2W; Fri, 17 May 2019 09:10:46 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 8A82E2029B0A3; Fri, 17 May 2019 11:10:44 +0200 (CEST) Date: Fri, 17 May 2019 11:10:44 +0200 From: Peter Zijlstra To: Kairui Song Cc: Song Liu , lkml , Kernel Team , Josh Poimboeuf Subject: Re: Getting empty callchain from perf_callchain_kernel() Message-ID: <20190517091044.GM2606@hirez.programming.kicks-ass.net> References: <3CD3EE63-0CD2-404A-A403-E11DCF2DF8D9@fb.com> <20190517074600.GJ2623@hirez.programming.kicks-ass.net> <20190517081057.GQ2650@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 17, 2019 at 04:15:39PM +0800, Kairui Song wrote: > Hi, I think the actual problem is that bpf_get_stackid_tp (and maybe > some other bfp functions) is now broken, or, strating an unwind > directly inside a bpf program will end up strangely. It have following > kernel message: Urgh, what is that bpf_get_stackid_tp() doing to get the regs? I can't follow.