From: Ben Gainey <Ben.Gainey@arm.com>
To: "eranian@google.com" <eranian@google.com>,
"acme@kernel.org" <acme@kernel.org>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"peterz@infradead.org" <peterz@infradead.org>,
"jolsa@redhat.com" <jolsa@redhat.com>,
"colin.king@canonical.com" <colin.king@canonical.com>,
Kim Phillips <Kim.Phillips@arm.com>,
"tglx@linutronix.de" <tglx@linutronix.de>,
"dvhart@infradead.org" <dvhart@infradead.org>,
"namhyung@kernel.org" <namhyung@kernel.org>,
"mingo@redhat.com" <mingo@redhat.com>,
"alexander.shishkin@linux.intel.com"
<alexander.shishkin@linux.intel.com>
Subject: Re: [PATCH 3/3] tools/perf/jvmti: generate correct debug information for inlined code
Date: Wed, 29 Nov 2017 16:27:37 +0000 [thread overview]
Message-ID: <1511972856.3243.5.camel@arm.com> (raw)
In-Reply-To: <CABPqkBS3CDfEvp9NK7GuvXfrU1a0BqVVVxmBaCzfXT=gNOpQcw@mail.gmail.com>
On Wed, 2017-11-29 at 05:02 -0800, Stephane Eranian wrote:
> On Thu, Nov 23, 2017 at 7:22 AM, Arnaldo Carvalho de Melo
> <acme@kernel.org> wrote:
> >
> > Em Wed, Nov 22, 2017 at 06:25:41PM -0600, Kim Phillips escreveu:
> > > From: Ben Gainey <ben.gainey@arm.com>
> > > @@ -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.
Hi Stephane, sorry can you please clarify; were you expecting to see
source embedded in the output from perf annotate, or are just missing
the source for the reproducer, or something else?
If it is the former, then there is no source in the output, only line
numbers and filenames, but this is not a regression (that I am aware
of) as it was not there before the patch either.
>
> >
> > - Arnaldo
>
>
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
next prev parent reply other threads:[~2017-11-29 16:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-23 0:25 [PATCH 3/3] tools/perf/jvmti: generate correct debug information for inlined code Kim Phillips
2017-11-23 15:22 ` Arnaldo Carvalho de Melo
2017-11-28 3:21 ` [PATCH v2] " Kim Phillips
2017-11-29 13:02 ` [PATCH 3/3] " Stephane Eranian
2017-11-29 16:27 ` Ben Gainey [this message]
2017-12-07 3:35 ` Stephane Eranian
2017-12-18 17:16 ` [tip:perf/urgent] perf jvmti: Generate " tip-bot for Ben Gainey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1511972856.3243.5.camel@arm.com \
--to=ben.gainey@arm.com \
--cc=Kim.Phillips@arm.com \
--cc=acme@kernel.org \
--cc=alexander.shishkin@linux.intel.com \
--cc=colin.king@canonical.com \
--cc=dvhart@infradead.org \
--cc=eranian@google.com \
--cc=jolsa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=namhyung@kernel.org \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox