This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: exercising current aarch64 kprobe support with systemtap
- From: Pratyush Anand <panand at redhat dot com>
- To: William Cohen <wcohen at redhat dot com>
- Cc: David Long <dave dot long at linaro dot org>, systemtap at sourceware dot org, Mark Brown <broonie at linaro dot org>, Jeremy Linton <jlinton at redhat dot com>, David Smith <dsmith at redhat dot com>, "Frank Ch. Eigler" <fche at redhat dot com>
- Date: Wed, 3 Aug 2016 18:43:02 +0530
- Subject: Re: exercising current aarch64 kprobe support with systemtap
- Authentication-results: sourceware.org; auth=none
- References: <8f40d0b9-5550-92f9-d1c5-8769f52304c0@redhat.com> <576B5501.1030106@linaro.org> <e5f466f7-4a60-efb3-d104-375807d271b2@redhat.com> <576C29E1.8060805@linaro.org> <0a594132-796b-779d-b473-a06c0f3e8ae8@redhat.com> <20160627141840.GB8139@dhcppc9> <ff385049-3e0f-b3ee-8395-4cc3ab1b13d5@redhat.com> <CAHB_Guqex38XodKctocG_4X6foZ2ZWZggYtMjAPhpDUL53DbXA@mail.gmail.com> <577EA7EE.2070607@linaro.org> <y0m60sh8bki.fsf@fche.csb>
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