From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC38BC3A5A3 for ; Thu, 29 Aug 2019 16:16:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 87FB521874 for ; Thu, 29 Aug 2019 16:16:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727066AbfH2QQq (ORCPT ); Thu, 29 Aug 2019 12:16:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56176 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728328AbfH2QQo (ORCPT ); Thu, 29 Aug 2019 12:16:44 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9F84210C6971; Thu, 29 Aug 2019 16:16:44 +0000 (UTC) Received: from astarta.redhat.com (unknown [10.36.118.65]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6178F600C1; Thu, 29 Aug 2019 16:16:43 +0000 (UTC) From: Yauheni Kaliuta To: bpf@vger.kernel.org Cc: daniel@iogearbox.net, iii@linux.ibm.com, jolsa@redhat.com Subject: Re: [PATCH] bpf: s390: add JIT support for bpf line info References: <20190829161330.14951-1-yauheni.kaliuta@redhat.com> Date: Thu, 29 Aug 2019 19:16:41 +0300 In-Reply-To: <20190829161330.14951-1-yauheni.kaliuta@redhat.com> (Yauheni Kaliuta's message of "Thu, 29 Aug 2019 19:13:30 +0300") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.65]); Thu, 29 Aug 2019 16:16:44 +0000 (UTC) Sender: bpf-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org Hi! Hold on, I should check it a bit more. >>>>> On Thu, 29 Aug 2019 19:13:30 +0300, Yauheni Kaliuta wrote: > This adds support for generating bpf line info for JITed programs > like commit 6f20c71d8505 ("bpf: powerpc64: add JIT support for bpf > line info") does for powerpc. > Signed-off-by: Yauheni Kaliuta > --- > The patch is on top of "bpf: s390: add JIT support for multi-function > programs" > --- > arch/s390/net/bpf_jit_comp.c | 1 + > 1 file changed, 1 insertion(+) > diff --git a/arch/s390/net/bpf_jit_comp.c b/arch/s390/net/bpf_jit_comp.c > index b6801d854c77..4ef783b67dfc 100644 > --- a/arch/s390/net/bpf_jit_comp.c > +++ b/arch/s390/net/bpf_jit_comp.c > @@ -1420,6 +1420,7 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *fp) > fp-> jited_len = jit.size; > if (!fp->is_func || extra_pass) { > + bpf_prog_fill_jited_linfo(fp, jit.addrs); > free_addrs: > kfree(jit.addrs); > kfree(jit_data); > -- > 2.22.0 -- WBR, Yauheni Kaliuta