Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8696252ybi; Thu, 6 Jun 2019 17:51:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqx9AUQUKC+DtCS4iLPe2cLYDIK8FIYH9Qgh+R05WwZFXpgJF0kZWGLNR7HuKH9r9vn23U9e X-Received: by 2002:a62:834d:: with SMTP id h74mr10141174pfe.254.1559868709682; Thu, 06 Jun 2019 17:51:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559868709; cv=none; d=google.com; s=arc-20160816; b=oRAFklTESaysbUOgd2wDdtRHXDKTYa2iZueQjVLMbczRpDfAg6bq4NQGBTgSSs2O0p PTV+Fom/mX2bcO8DZcbWXF2mbcNKt7cJ2frOBPBUxXT7OUwYunmnipx0vsddCvg3B5j2 vo0tN27wLng5dT6s6CxE0TC/NHDbKJwqle4324odFzwYg8cLCtEBLw0eVWL5A/U3Q1tw j3WKE5Ns1JyP7qyC/QH67Ybf5rah7oiozencJtrsDWr/2iyvBOGL+x3fgWcKF75CtxDF EZh/YRUYKOp/YbuU/by/zMZdDd+rYCGTV0MNpahN//UIAPIL0TUa3mXt84OkTMVA0A+a hQ8Q== 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=yP3LlsC1CFFMMgN8SytMZanZHrTwfYQuiby7UlBlThs=; b=cc3mLU5Fm7atJ27A0BvXBnV8hGaHyvw9f7dV7Wgm4MeXv38rTJsWmCaIpfZ1myPdrP QEIkFiMhX77z/Q1Ww1wEiv9ef2srpGtjfNQow0uua/+ymL51ScDV9hGbSNpCzIshBptI ZdV0N1POpGdFjSsOaFS7JDTuCeXlT8Rj5XTb/pNmEIUUzDtQWcoqHZF50cZMRYpcFnDm mibBOgzT87s54W/I55uCQIl6CedO9HyE/VbENF3aVGZ8yWmp//t1Fcg8m/u4po005glm PH0kd4ap4JEatF4I1uYm3ABmg/H/V6RwPUfxCL0+O2WHvWijfrxISAkvyfnnphli/E6u PIZQ== 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 w4si529232plp.223.2019.06.06.17.51.33; Thu, 06 Jun 2019 17:51:49 -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 S1728088AbfFFX6b (ORCPT + 99 others); Thu, 6 Jun 2019 19:58:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50820 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726870AbfFFX6b (ORCPT ); Thu, 6 Jun 2019 19:58:31 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 13495307D864; Thu, 6 Jun 2019 23:58:31 +0000 (UTC) Received: from treble (ovpn-120-211.rdu2.redhat.com [10.10.120.211]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0AB627842C; Thu, 6 Jun 2019 23:58:29 +0000 (UTC) Date: Thu, 6 Jun 2019 19:58:26 -0400 From: Josh Poimboeuf To: Song Liu Cc: Kairui Song , Alexei Starovoitov , Peter Zijlstra , lkml , Kernel Team , Alexei Starovoitov , Daniel Borkmann , "bpf@vger.kernel.org" Subject: Re: Getting empty callchain from perf_callchain_kernel() Message-ID: <20190606235826.ryudsd37bcjolbb2@treble> References: <20190523133253.tad6ywzzexks6hrp@treble> <20190523152413.m2pbnamihu3s2c5s@treble> <20190523172714.6fkzknfsuv2t44se@treble> <20190524232312.upjixcrnidlibikd@treble> <145B7F65-2E06-4266-A816-A3445FE47638@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <145B7F65-2E06-4266-A816-A3445FE47638@fb.com> User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Thu, 06 Jun 2019 23:58:31 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 06, 2019 at 04:04:48PM +0000, Song Liu wrote: > >> Here's a tentative BPF fix for the JIT frame pointer issue. It was a > >> bit harder than I expected. Encoding r12 as a base register requires a > >> SIB byte, so I had to add support for encoding that. I also simplified > >> the prologue to resemble a GCC prologue, which decreases the prologue > >> size quite a bit. > >> > >> Next week I can work on the corresponding ORC change. Then I can clean > >> all the patches up and submit them properly. > > Hi Josh, > > Have you got luck fixing the ORC side? Sorry, I've been traveling this week and I haven't had a chance to work on it. It's at the top of my TODO list for next week. -- Josh