diff options
author | David Smith <dsmith@redhat.com> | 2009-03-11 16:10:14 -0500 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2009-03-11 16:10:14 -0500 |
commit | 12659e2d5eea60a6c1021effa7776bc8e58bb508 (patch) | |
tree | fbffd06781a822df639fdd0a16d3eda57fa1de8a /runtime/print_new.c | |
parent | 457debd23eb3eef17d24ecf3534891ec640684f6 (diff) | |
download | systemtap-steved-12659e2d5eea60a6c1021effa7776bc8e58bb508.tar.gz systemtap-steved-12659e2d5eea60a6c1021effa7776bc8e58bb508.tar.xz systemtap-steved-12659e2d5eea60a6c1021effa7776bc8e58bb508.zip |
Small update.
2009-03-11 David Smith <dsmith@redhat.com>
* print_new.c (stp_print_flush): Updated MAX_RESERVE_SIZE.
* transport/ring_buffer.c (__stp_alloc_ring_buffer): Reserves
more space.
Diffstat (limited to 'runtime/print_new.c')
-rw-r--r-- | runtime/print_new.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/print_new.c b/runtime/print_new.c index 4e579c37..4857b301 100644 --- a/runtime/print_new.c +++ b/runtime/print_new.c @@ -72,7 +72,7 @@ void EXPORT_FN(stp_print_flush) (_stp_pbuf *pb) uint32_t cnt; char *bufp = pb->buf; -#define MAX_RESERVE_SIZE (4080 /*BUF_PAGE_SIZE*/ - sizeof(struct _stp_entry) - 8) +#define MAX_RESERVE_SIZE (4080 /*BUF_PAGE_SIZE*/ - sizeof(struct _stp_entry) - 10) while (len > 0) { if (len > MAX_RESERVE_SIZE) { len -= MAX_RESERVE_SIZE; |