This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [HELP] Systemtap fails to load kernel module
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: Jovi Zhangwei <jovi at cloudflare dot com>
- Cc: systemtap at sourceware dot org
- Date: Thu, 7 Jan 2016 13:43:16 -0500
- Subject: Re: [HELP] Systemtap fails to load kernel module
- Authentication-results: sourceware.org; auth=none
- References: <CABPcSqLiPoC=d2zHsVXTPgb+DppYfNO8x0=a+Fzvoj637h7gmw at mail dot gmail dot com> <y0mr3hvivc0 dot fsf at fche dot csb> <CABPcSqKE+fPJmSxyd6-VbFF1HxGvtC0M-CU5c-LOvevuCSbYoA at mail dot gmail dot com>
Hi -
> [...]
> ERROR: context (size 66144) allocation failed
> WARNING: /usr/local/systemtap/bin/staprun exited with status: 1
> [...]
The context structure is allocated per-cpu, so for high-cpu-count
boxes can be a problem. You must be running stap v2.4 or older, based
on that message. With newer stap, the context sizes are sometimes
dramatically smaller for the same script.
- FChE