This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Added new functions in tapset/signal.stp


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]