projects
/
lttngtop.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
flush at every second
[lttngtop.git]
/
src
/
lttngtop.c
diff --git
a/src/lttngtop.c
b/src/lttngtop.c
index 892cfd0a6b93a37fca6d7f08333c071cc0b78720..7d89e5c8af12896dcc38eb36cf79251bed207cfd 100644
(file)
--- a/
src/lttngtop.c
+++ b/
src/lttngtop.c
@@
-88,9
+88,13
@@
static struct poptOption long_options[] = {
void *refresh_thread(void *p)
{
void *refresh_thread(void *p)
{
+ struct mmap_stream *mmap_info;
+
while (1) {
if (quit)
return NULL;
while (1) {
if (quit)
return NULL;
+ bt_list_for_each_entry(mmap_info, &mmap_list.head, list)
+ helper_kernctl_buffer_flush(mmap_info->fd);
sem_wait(&pause_sem);
sem_post(&pause_sem);
sem_post(&timer);
sem_wait(&pause_sem);
sem_post(&pause_sem);
sem_post(&timer);
This page took
0.022206 seconds
and
4
git commands to generate.