Received: by 10.223.164.202 with SMTP id h10csp4692976wrb; Wed, 29 Nov 2017 10:16:04 -0800 (PST) X-Google-Smtp-Source: AGs4zMakter0h3VNsDJmfmr/MfjZLpYquOv3NIR8SGCIhf5qSXB4uXRoGFowMV3O7haqk6CaGQSt X-Received: by 10.98.222.197 with SMTP id h188mr3893987pfg.132.1511979364237; Wed, 29 Nov 2017 10:16:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511979364; cv=none; d=google.com; s=arc-20160816; b=wa6aWe/xE7el5cI4buoCtybRGytkidceYK/LhRqYfsz/5RphiAKAGEMNi/NcKMu6bY LhH4hzRoe7xRsKZ9Y3/MIaZyuQYgt5i67bv/nsfCXXgIGwb6yd3BBPu8tA00qinSbc67 oA7g5H8QFXg/B1GaR1HtgIw8l+ExTgrHyYXY1oSKJxse5bf+V7jmrqHZMC40yA5CZm8y 3EOENT8sjr3uCUqa8bTQDccjY07goaYWIXPRjrE3Xdn1BJgwg7nypyK3B1AEacI2CdMS frm4ylHG+PBRVOmcPw09Rdqpymz5uoymAgLG1ZHdfCGW6v1ieweScZ3MnjAOhH45tD6R EX8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=2t4O1UdLDqatWOnk8wlvKmQvj4sWjXtq8Ae+WRhUilY=; b=blLn5XG831J//jGgYl5vRL9o4WXUQEvlzIDPvdRJFrGb3z8eccaYybeqcvhu2eMKT1 FBv/d4Jr7gliU1cQMla0YPDKBu9ZarcicJO1YbeVHPHHaUfU8jt1eKPJfYxdMRDEiDC1 8/TWwhu1pUFMIny3KLcamvqc78TflkXqL/OrAHnsrNs3fV1SP1FtpMvQqW/vOjI5IxwM er2jLhVJlKIpm3KhJbAeVos6t/yKz7+yDadADaw7rNdrxliY5xg1AZaDjaMmIBlzj8QJ +7ittPJhMEmu2v9VkLFmc7dDmeJlBSoiUsabfeDCHfIC9Im9trSX2bhrfkE3lhlbowlk EZwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=UIg16gs8; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f14si1620922pgr.65.2017.11.29.10.15.53; Wed, 29 Nov 2017 10:16:04 -0800 (PST) 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=pass header.i=@google.com header.s=20161025 header.b=UIg16gs8; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932382AbdK2NCS (ORCPT + 70 others); Wed, 29 Nov 2017 08:02:18 -0500 Received: from mail-io0-f171.google.com ([209.85.223.171]:34474 "EHLO mail-io0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932260AbdK2NCR (ORCPT ); Wed, 29 Nov 2017 08:02:17 -0500 Received: by mail-io0-f171.google.com with SMTP id s19so3623742ioa.1 for ; Wed, 29 Nov 2017 05:02:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=2t4O1UdLDqatWOnk8wlvKmQvj4sWjXtq8Ae+WRhUilY=; b=UIg16gs821ZI2QFTIeiLRRVmpcvLMlswmskiPUImwaCJFmDTUmkFTCJGOhE3QRifdU ll8XhvlRI0efHFKbSsZH5oqobK8TbrdIjQVpxB2E6RU3CtLxlsiuFMYIJgEVgXMp3J25 pE27laZB5wfKbfKY9eSSAdZkS0F5jOFQaDyXX1daFFBgSCNsJmuFAG/qO4VQSKyVnDv4 URaR//bVsGh0sK5zJlZaehD4MExohW9z5jsSH2a3EcvpH7ay7RkiBI/bpqbu1LWarFcc NG71xWcj1aVcxpe4UKTNb6EzskCxYtfORqAJaplNXBQ8PSD/VGjerS83uvdHGtvotefL /NKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=2t4O1UdLDqatWOnk8wlvKmQvj4sWjXtq8Ae+WRhUilY=; b=GkSoYo5b1fpeBK/aFYASjmSq5xsmSH6Cu9jboiFJHrK9GCDO0ML9D+b2AAo/dJVJeS c9HH+yEouEFJ7chUe5sLsu8ZTUWP3PEQwfcplZHBcB2tS20y1Dt2AbUUiW8Pu48hPOxB 8TaC98mDSeNZMaE3HAhBoYR7m3ih2oJSwDWESJlCXmG7ys6CtPkO2VpmVKVbd7j/f8k+ x8pfjlf/OWqJIq1RRYsNWQIToK4IroPkUvJNuTACqsDidM2DKDqnSOyN5YAh6NuibXyH dv5+U6/oKI5WcevrnwcPC7mxOPy0cf3Klu8+um7rMBKJOBbteYEUEpAgCnbOo/E5Uf/T +TjQ== X-Gm-Message-State: AJaThX78nL911BoPEcIIUuVfgVmLe/D1+qBFuX5Ibx/gN7WCusUSghtV 5rjEUWnQG+2vauqmdmia1qlKrN6O707ZM55AV25ExQ== X-Received: by 10.107.20.1 with SMTP id 1mr3105623iou.170.1511960536021; Wed, 29 Nov 2017 05:02:16 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.164.15 with HTTP; Wed, 29 Nov 2017 05:02:15 -0800 (PST) In-Reply-To: <20171123152227.GG8789@kernel.org> References: <20171122182541.d25599a3eb1ada3480d142fa@arm.com> <20171123152227.GG8789@kernel.org> From: Stephane Eranian Date: Wed, 29 Nov 2017 05:02:15 -0800 Message-ID: Subject: Re: [PATCH 3/3] tools/perf/jvmti: generate correct debug information for inlined code To: Arnaldo Carvalho de Melo Cc: Ben Gainey , Kim Phillips , Peter Zijlstra , Ingo Molnar , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Thomas Gleixner , Darren Hart , Colin Ian King , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 23, 2017 at 7:22 AM, Arnaldo Carvalho de Melo wrote: > > Em Wed, Nov 22, 2017 at 06:25:41PM -0600, Kim Phillips escreveu: > > From: Ben Gainey > > @@ -405,7 +405,9 @@ jvmti_write_debug_info(void *agent, uint64_t code, const char *file, > > return -1; > > } > > > > - flen = strlen(file) + 1; > > + for (i = 0; i < nr_lines; ++i) { > > + flen += strlen(file_names[i]) + 1; > > + } > > > Please follow the coding standard used in this file and in tools/perf, > which is the kernel one. > > Thanks for providing instructions on how to reproduce the problem! > > Stephane, can you please Ack this? > Trying to test this but do not see the source code from example, yet. > > - Arnaldo From 1585278490703007384@xxx Tue Nov 28 03:23:00 +0000 2017 X-GM-THRID: 1584814413904944193 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread