public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* stap and compiler options
@ 2012-09-25  5:03 domenico.dileo
  2012-09-25  6:16 ` Josh Stone
  2012-09-25 12:45 ` Frank Ch. Eigler
  0 siblings, 2 replies; 3+ messages in thread
From: domenico.dileo @ 2012-09-25  5:03 UTC (permalink / raw)
  To: systemtap

I would like to know how to recompile stap  with larger  
-DSTP_OVERLOAD_THRESHOLD
and disable the heuristic probe overhead exceeded threshold with  
-DSTP_NO_OVERLOAD

FYI, I took these directives from
http://sourceware.org/systemtap/wiki/TipExhaustedResourceErrors
Thank you in advance,


Domenico Di Leo, PhD student, Universit? degli Studi di Napoli Federico II
Ph:     +39 081 676770
Fax:    +39 081 676574
Web: http://wpage.unina.it/domenico.dileo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: stap and compiler options
  2012-09-25  5:03 stap and compiler options domenico.dileo
@ 2012-09-25  6:16 ` Josh Stone
  2012-09-25 12:45 ` Frank Ch. Eigler
  1 sibling, 0 replies; 3+ messages in thread
From: Josh Stone @ 2012-09-25  6:16 UTC (permalink / raw)
  To: domenico.dileo; +Cc: systemtap

On 09/24/2012 10:03 PM, domenico.dileo@unina.it wrote:
> I would like to know how to recompile stap  with larger  
> -DSTP_OVERLOAD_THRESHOLD
> and disable the heuristic probe overhead exceeded threshold with  
> -DSTP_NO_OVERLOAD

These are not compiler options for building stap, but rather for
building the modules that stap produces.  So just pass the values as
command line options to stap at runtime.

The meaning of these variables is described in more detail at the end of
the SAFETY AND SECURITY section of the stap.1 manpage.

Josh

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: stap and compiler options
  2012-09-25  5:03 stap and compiler options domenico.dileo
  2012-09-25  6:16 ` Josh Stone
@ 2012-09-25 12:45 ` Frank Ch. Eigler
  1 sibling, 0 replies; 3+ messages in thread
From: Frank Ch. Eigler @ 2012-09-25 12:45 UTC (permalink / raw)
  To: domenico.dileo; +Cc: systemtap

domenico.dileo@unina.it writes:

> I would like to know how to recompile stap  with larger
> -DSTP_OVERLOAD_THRESHOLD
> and disable the heuristic probe overhead exceeded threshold with
> -DSTP_NO_OVERLOAD
> [...]

You may put permanently-desired stap options into a
$HOME/.systemtap/rc file (stap version 1.7 and later).

- FChE

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-25 12:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-25  5:03 stap and compiler options domenico.dileo
2012-09-25  6:16 ` Josh Stone
2012-09-25 12:45 ` Frank Ch. Eigler

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).