This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH] Added new functions in tapset/signal.stp
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Eugene Teo <eugeneteo at kernel dot sg>
- Cc: systemtap at sources dot redhat dot com
- Date: Mon, 14 Jan 2008 07:35:50 -0800
- Subject: Re: [PATCH] Added new functions in tapset/signal.stp
- Organization: Red Hat, Inc.
- References: <20080114030238.GA6933@kernel.sg>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Eugene Teo wrote:
> + if (sig == 45) return "RTMIN+13";
> + if (sig == 46) return "RTMIN+14";
> + if (sig == 47) return "RTMIN+15";
> + if (sig == 48) return "RTMIN+16";
> + if (sig == 49) return "RTMAX-15";
> + if (sig == 50) return "RTMAX-14";
> + if (sig == 51) return "RTMAX-13";
While I appreciate what you want to do with switching from RTMIN+xx to
RTMAX-xx it is not something you should do. The signal system has
always the possibility to see the number of signals to be increased if
this should become necessary or desirable. Or: somebody could decide to
slash the number of signals.
In these cases the absolute values of the RTMAX+xx reports will change
and collected output is not universally understandable. You should use
only the RTMIN+xx syntax.
- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFHi4FW2ijCOnn/RHQRAh52AKCZwHPb2f0Sua8c+q3lFHfVgeizkQCgw70B
Ma4GMeKYb28ccW/RfDyTwMo=
=zNSw
-----END PGP SIGNATURE-----