summaryrefslogtreecommitdiffstats
path: root/runtime/print_new.c
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2007-11-09 13:33:35 -0500
committerFrank Ch. Eigler <fche@elastic.org>2007-11-09 13:33:35 -0500
commit5c2ebe0293f9fee77404d587a264b7c90fd8712a (patch)
tree667dc956901aa44b59cd87adc4ad688a71b3cdfb /runtime/print_new.c
parent0919e9e340e5d93fcc7f07043e88c9a8659371a3 (diff)
parent185457afd0b9b00f835e2bedcd6801aae432b699 (diff)
downloadsystemtap-steved-5c2ebe0293f9fee77404d587a264b7c90fd8712a.tar.gz
systemtap-steved-5c2ebe0293f9fee77404d587a264b7c90fd8712a.tar.xz
systemtap-steved-5c2ebe0293f9fee77404d587a264b7c90fd8712a.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'runtime/print_new.c')
-rw-r--r--runtime/print_new.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/print_new.c b/runtime/print_new.c
index b34aad8a..95a83a8d 100644
--- a/runtime/print_new.c
+++ b/runtime/print_new.c
@@ -17,9 +17,8 @@
*/
spinlock_t _stp_print_lock = SPIN_LOCK_UNLOCKED;
-void _stp_print_flush (void)
+void EXPORT_FN(stp_print_flush) (_stp_pbuf *pb)
{
- _stp_pbuf *pb = per_cpu_ptr(Stp_pbuf, smp_processor_id());
uint32_t len = pb->len;
/* check to see if there is anything in the buffer */