diff options
author | wenji <wjhuang@dhcp-beijing-cdc-10-182-120-233.cn.oracle.com> | 2008-04-16 02:40:15 -0400 |
---|---|---|
committer | wenji <wjhuang@dhcp-beijing-cdc-10-182-120-233.cn.oracle.com> | 2008-04-16 02:40:15 -0400 |
commit | 784676f65184261f4a2acc879223108426c65e7d (patch) | |
tree | 925f9649872ea57aaf6e24c9d7a41d20fb98111e | |
parent | 7edb09d8ba7689d26aefc0a273f334cec4419539 (diff) | |
parent | da233bdb4ce5b9205c066fecff7a153ade8eb95a (diff) | |
download | systemtap-steved-784676f65184261f4a2acc879223108426c65e7d.tar.gz systemtap-steved-784676f65184261f4a2acc879223108426c65e7d.tar.xz systemtap-steved-784676f65184261f4a2acc879223108426c65e7d.zip |
Merge branch 'master' of ssh://wenji@sources.redhat.com/git/systemtap
-rw-r--r-- | runtime/ChangeLog | 4 | ||||
-rw-r--r-- | runtime/print.c | 11 |
2 files changed, 3 insertions, 12 deletions
diff --git a/runtime/ChangeLog b/runtime/ChangeLog index 7184a980..d19a932f 100644 --- a/runtime/ChangeLog +++ b/runtime/ChangeLog @@ -1,5 +1,7 @@ 2008-04-15 hunt <hunt@redhat.com> - + * print.c (_stp_pbuf_full): Delete. + +2008-04-15 hunt <hunt@redhat.com> * stack-x86_64.c (_stp_stack_print_fallback): Add levels. (__stp_stack_print): Count levels properly. 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 */ |