From: Simon Marchi <simon.marchi@polymtl.ca>
To: "Metzger, Markus T" <markus.t.metzger@intel.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH 3/3] btrace: Remove ui_out cleanups
Date: Tue, 06 Mar 2018 14:40:00 -0000 [thread overview]
Message-ID: <d537179af14789a7585a8bacfbaf6f45@polymtl.ca> (raw)
In-Reply-To: <A78C989F6D9628469189715575E55B236964FF25@IRSMSX104.ger.corp.intel.com>
On 2018-03-06 02:30, Metzger, Markus T wrote:
> I prefer consistency. I we agreed to use pointers instead of
> references
> in other parts of GDB, let's do so everywhere.
There was no formal decision, I would just say it's the current trend.
But it would be a good idea to formalize it, so we don't have to wonder
about it again, I'll send a proposal in a separate mail. For reference,
I checked the Google C++ style guide, and they forbid non-const
reference:
https://google.github.io/styleguide/cppguide.html#Reference_Arguments
I'll push this patch with pointers then.
>> Yes, I have ran the gdb.btrace/*.exp tests locally on two different
>> machines and saw no regressions. However, the processors may be a bit
>> old (Q6600 from 2007 and i5-4310U from 2014), so it's possible that
>> not
>> all required features are available, and therefore some tests may be
>> skipped. So if you want to be sure, here's a branch for you to test:
>
> You would get an "untested" if btrace tests are skipped. As long as
> you're not getting all "untested", you should be fine. There is only
> one test, tsx.exp, that requires recent hardware and compiler.
>
> It would use the method that is available on your target preferring
> PT over BTS. But this change is not related to trace decode so it
> shouldn't matter.
>
> I ran the tests on recent hardware using PT and everything passes.
Ok, thanks!
Simon
next prev parent reply other threads:[~2018-03-06 14:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-04 20:56 [PATCH 1/3] btrace: Remove btrace disable cleanup Simon Marchi
2018-03-04 20:56 ` [PATCH 3/3] btrace: Remove ui_out cleanups Simon Marchi
2018-03-05 12:39 ` Metzger, Markus T
2018-03-05 22:16 ` Simon Marchi
2018-03-06 7:30 ` Metzger, Markus T
2018-03-06 14:40 ` Simon Marchi [this message]
2018-03-04 20:56 ` [PATCH 2/3] btrace: Remove VEC cleanups Simon Marchi
2018-03-05 12:39 ` Metzger, Markus T
2018-03-05 12:39 ` [PATCH 1/3] btrace: Remove btrace disable cleanup Metzger, Markus T
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=d537179af14789a7585a8bacfbaf6f45@polymtl.ca \
--to=simon.marchi@polymtl.ca \
--cc=gdb-patches@sourceware.org \
--cc=markus.t.metzger@intel.com \
/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