Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Antoine Tremblay <antoine.tremblay@ericsson.com>
To: Yao Qi <qiyaoltc@gmail.com>
Cc: Antoine Tremblay <antoine.tremblay@ericsson.com>,
	"gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: [PATCH V2 0/5] Support tracepoints for ARM linux in GDBServer
Date: Tue, 08 Nov 2016 15:34:00 -0000	[thread overview]
Message-ID: <wwok8tsurnnm.fsf@ericsson.com> (raw)
In-Reply-To: <wwoka8dasqta.fsf@ericsson.com>


Antoine Tremblay writes:

> Yao Qi writes:
>
>> On Thu, Nov 3, 2016 at 2:32 PM, Antoine Tremblay
>> <antoine.tremblay@ericsson.com> wrote:
>>>
>>> Since all the prerequisites for this series have been addressed,
>>> this is a V2 of https://sourceware.org/ml/gdb-patches/2016-01/msg00111.html
>>
>> All "hard" prerequisites are addressed, but we still want to "teach
>> unwinders to terminate gracefully in an arch-independent way".
>> https://sourceware.org/ml/gdb-patches/2016-05/msg00060.html
>> I didn't follow it up closely.  I hope we can make progress on this...
>> "Progress" here means either "it is completely wrong, let us handle
>> unavailable data in each arch unwinder one by one" or "it is
>> correct, let us remove these redundant code in each arch".
>
> Sure, I hope progress can be made on that point too.
>
>>
>> I am still testing arm-linux gdbserver without and with software
>> single step.  I still see some intermittent regressions _with_
>> software single step,
>>
>> +FAIL: gdb.threads/non-stop-fair-events.exp: signal_thread=8: thread 1
>> broke out of loop (timeout)
>> +FAIL: gdb.threads/schedlock.exp: schedlock=off: cmd=step: step to
>> increment (1) (timeout)
>>
>
> I have not seen that except when I get random SIGILLs, I'll try to run
> these more often and see if I can reproduce it.
>

I retested on my boards with RACY_ITER=100 and I can only reproduce this
issue when I get these random SIGILLs, do you have more information
about how the test ended ? (gdb.log output ? )

>> This reveals something wrong in software single step in GDBserver.

It may be another problem also, like it is with my boards...

>> I don't think we should bring tracepoint in until these regressions are
>> fixed.

Thinking more about this I can't believe we would hold back tracepoints
and fast tracepoints for an intermittent problem like that.

For the following reasons:

 - The benefit of tracepoints / fast tracepoints functionality to the
   user is significant.
 - This benefit far outweighs minor issues that could be hit.
 - I don't think it's a requirement for a feature to be absolutely
   perfect to be accepted upstream especially when there's a commitment
   to fix issues along life of the project.

Bottom line is we can fix this minor issue and the users can have
tracepoints at the same time.  If a user stumbles upon this problem it
most likely wont ruin it's day, but lack of tracepoints support is a
problem for many users.

WDYT ?




  parent reply	other threads:[~2016-11-08 15:34 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-03 14:33 Antoine Tremblay
2016-11-03 14:33 ` [PATCH V2 4/5] Use FAST_TRACEPOINT_LABEL in range-stepping.exp Antoine Tremblay
2016-11-03 14:33 ` [PATCH V2 2/5] Enable tracing of pseudo-registers on ARM Antoine Tremblay
2016-11-03 14:33 ` [PATCH V2 1/5] Teach arm unwinders to terminate gracefully Antoine Tremblay
2016-11-03 14:33 ` [PATCH V2 5/5] Support tracepoints for ARM linux in GDBServer Antoine Tremblay
2016-11-03 17:51   ` Eli Zaretskii
2016-11-03 18:12     ` Antoine Tremblay
2016-11-10 14:01   ` Yao Qi
2016-11-15 14:42     ` Antoine Tremblay
2016-11-16 20:49       ` Yao Qi
2016-11-03 14:33 ` [PATCH V2 3/5] Improve tests to allow for targets that support trace but not ftrace Antoine Tremblay
2016-11-07  9:25 ` [PATCH V2 0/5] Support tracepoints for ARM linux in GDBServer Yao Qi
     [not found]   ` <wwoka8dasqta.fsf@ericsson.com>
2016-11-08 15:34     ` Antoine Tremblay [this message]
2016-11-09 16:39     ` Yao Qi
2016-11-09 17:58       ` Antoine Tremblay

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=wwok8tsurnnm.fsf@ericsson.com \
    --to=antoine.tremblay@ericsson.com \
    --cc=gdb-patches@sourceware.org \
    --cc=qiyaoltc@gmail.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