public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: David Long <dave.long@linaro.org>
To: William Cohen <wcohen@redhat.com>, Pratyush Anand <panand@redhat.com>
Cc: systemtap@sourceware.org, Mark Brown <broonie@linaro.org>,
	Jeremy Linton <jlinton@redhat.com>,
	David Smith <dsmith@redhat.com>,
	"Frank Ch. Eigler" <fche@redhat.com>
Subject: Re: exercising current aarch64 kprobe support with systemtap
Date: Wed, 03 Aug 2016 15:11:00 -0000	[thread overview]
Message-ID: <57A20975.4090809@linaro.org> (raw)
In-Reply-To: <5d70cfba-bfda-9887-464f-52bde9b99b01@redhat.com>

On 08/03/2016 10:51 AM, William Cohen wrote:
> On 08/03/2016 09:13 AM, Pratyush Anand wrote:
>> On 07/07/2016:03:58:37 PM, Frank Ch. Eigler wrote:
>>> David Long <dave.long@linaro.org> writes:
>>>
>>>> [...]
>>>>> - bug_handler() calls report_bug() which calls __warn()
>>>>> - __warn() does lot of pr_warn()  which invokes print_worker_info()
>>>>> where we have a kprobe instrumented.
>>>>> - Therefore, we are encountering this issue.
>>
>> Hi Will,
>>
>> Can you please cross-check if following branch works perfectly with
>> kprobes_onthefly.exp and other systemtap tests.
>>
>> https://github.com/pratyushanand/linux/tree/uprobe/upstream_arm64_devel_v1.1
>>
>> Following patch in above branch should solve this issue.
>> https://github.com/pratyushanand/linux/commit/d0dcc6477f1279ab0bd99aefc30efdecb16c586e
>>
>> However, I am not yet sure that above modification could be the best solution,
>> so discussing at arm kernel list.
>>
>> ~Pratyush
>>
>
> Hi Pratyush,
>
> I am setting up a machine with the locally built kernel and systemtap to see if the problem is resolved. I hope to have some results by this evening.
>
> Could there be a better way to handle the "Unexpected kernel single-step exception at EL1"?  Getting stuck in a loop endlessly quickly printing out that message isn't very helpful. Maybe use pr_warn_ratelimited instead of pr_warn.
>
> -Will
>

Just a reminder that the latest kprobes patches are on the end of the 
for-next/kprobes branch in the:

git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git

repo.  There's at least one more tweak to that (removing jprobe stack 
copy) coming up shortly.

Thanks,
-dl

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

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-09 16:17 William Cohen
2016-06-09 19:52 ` William Cohen
2016-06-10  3:42   ` David Long
2016-06-10  5:49   ` David Long
2016-06-10 13:43     ` Pratyush Anand
2016-06-10 14:03       ` William Cohen
2016-06-10 14:37         ` David Long
2016-06-10 15:27           ` William Cohen
2016-06-10 14:20       ` David Long
2016-06-10 15:11         ` William Cohen
2016-06-10 17:07         ` Pratyush Anand
2016-07-12 14:33     ` William Cohen
2016-07-13 18:26       ` David Long
2016-07-13 18:47         ` Pratyush Anand
2016-07-13 19:45           ` William Cohen
2016-06-10 21:28 ` William Cohen
2016-06-10 21:37   ` William Cohen
2016-06-13  4:28   ` Pratyush Anand
2016-06-13 13:42     ` William Cohen
2016-06-22 20:24   ` William Cohen
2016-06-23  3:19     ` David Long
2016-06-23 13:42       ` William Cohen
2016-06-23 13:47         ` David Smith
2016-06-23 15:49       ` William Cohen
2016-06-23 18:26         ` David Long
2016-06-23 19:22           ` William Cohen
2016-06-27  2:57             ` David Long
2016-06-27 14:18             ` Pratyush Anand
2016-06-28  3:20               ` William Cohen
2016-07-04 12:46                 ` Pratyush Anand
2016-07-07 19:05                   ` David Long
2016-07-07 19:58                     ` Frank Ch. Eigler
2016-08-03 13:13                       ` Pratyush Anand
2016-08-03 14:51                         ` William Cohen
2016-08-03 15:11                           ` David Long [this message]
2016-08-03 17:40                         ` William Cohen
2016-08-03 20:00                           ` Lastest kprobes64 patch David Long
2016-08-03 20:01                             ` Frank Ch. Eigler
2016-08-03 20:08                               ` David Long
2016-08-04  5:03                             ` Pratyush Anand
2016-08-04 13:07                               ` David Long
2016-08-04  4:42                           ` exercising current aarch64 kprobe support with systemtap Pratyush Anand
2016-08-04 13:57                             ` William Cohen
2016-08-04 14:36                               ` Pratyush Anand
2016-08-04 14:50                                 ` William Cohen
2016-08-04 20:51                                 ` William Cohen
2016-08-17 14:36                                   ` William Cohen
2016-08-17 18:04                                     ` David Smith
2016-08-17 18:28                                       ` William Cohen
2016-08-18 15:07                                         ` David Smith
2016-08-18 15:16                                           ` William Cohen
2016-08-18 15:39                                             ` David Smith
2016-08-18 14:55                                     ` Pratyush Anand
2016-06-13 16:11 ` William Cohen
2016-06-13 16:15   ` William Cohen
2016-06-14  4:27   ` Pratyush Anand

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=57A20975.4090809@linaro.org \
    --to=dave.long@linaro.org \
    --cc=broonie@linaro.org \
    --cc=dsmith@redhat.com \
    --cc=fche@redhat.com \
    --cc=jlinton@redhat.com \
    --cc=panand@redhat.com \
    --cc=systemtap@sourceware.org \
    --cc=wcohen@redhat.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).