summaryrefslogtreecommitdiffstats
path: root/runtime/print.c
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>2008-04-15 22:32:45 -0400
committerMartin Hunt <hunt@redhat.com>2008-04-15 22:32:45 -0400
commitda233bdb4ce5b9205c066fecff7a153ade8eb95a (patch)
tree925f9649872ea57aaf6e24c9d7a41d20fb98111e /runtime/print.c
parent8a49d1d23c77033bf98fc7b139b37f83e3e0eb49 (diff)
downloadsystemtap-steved-da233bdb4ce5b9205c066fecff7a153ade8eb95a.tar.gz
systemtap-steved-da233bdb4ce5b9205c066fecff7a153ade8eb95a.tar.xz
systemtap-steved-da233bdb4ce5b9205c066fecff7a153ade8eb95a.zip
Remove _stp_pbuf_full.
Diffstat (limited to 'runtime/print.c')
-rw-r--r--runtime/print.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/runtime/print.c b/runtime/print.c
index 4f99be7b..14a0820b 100644
--- a/runtime/print.c
+++ b/runtime/print.c
@@ -243,17 +243,6 @@ void _stp_print_char (const char c)
pb->len ++;
}
-/** Check whether the print buffer is full.
- * @return non-zero if full
- */
-
-static int _stp_pbuf_full (void)
-{
- _stp_pbuf *pb = per_cpu_ptr(Stp_pbuf, smp_processor_id());
- return (pb->len >= STP_BUFFER_SIZE);
-}
-
-
/* This function is used when printing maps or stats. */
/* Probably belongs elsewhere, but is here for now. */
/* It takes a format specification like those used for */