This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: help!! could I debug a loadable module with systemtap
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: 0x80 Intercept <eniac0x80 at gmail dot com>
- Cc: systemtap at sourceware dot org
- Date: Mon, 28 Oct 2013 06:35:10 -0400
- Subject: Re: help!! could I debug a loadable module with systemtap
- Authentication-results: sourceware.org; auth=none
- References: <CALHL+m4evsPB4dXtF1CX49CCrQL-7LvhoJP07pPOv1WkWWyxRg at mail dot gmail dot com>
Hi -
> [...]
> as we know if i want to use systemtap with a self-built kernel, i could
> only use the "-r" option to identify the kernel path.
>
> but when i want to debug a loadable _module_ compiled by myself, i can't
> find an option to identify the source code or path of the loadable
> _module_, what could i do then?
One solution to this is to put a copy of your hand-compiled kernel
under the kernel build tree somewhere, where stap's scan will find it.
See also PR14596.
- FChE