Compare commits

...

2 commits

Author SHA1 Message Date
f91dbfea0d Disable libunwind caching 2018-06-15 02:15:08 +02:00
8b09fabf5a eh_elf: report timer 2018-06-15 01:27:38 +02:00
2 changed files with 5 additions and 1 deletions

View file

@ -54,6 +54,8 @@
#include <unistd.h> #include <unistd.h>
#include <linux/mman.h> #include <linux/mman.h>
#include <libunwind.h>
struct report { struct report {
struct perf_tool tool; struct perf_tool tool;
struct perf_session *session; struct perf_session *session;
@ -1398,6 +1400,8 @@ repeat:
} else } else
ret = 0; ret = 0;
chrono_report_disp();
error: error:
zfree(&report.ptime_range); zfree(&report.ptime_range);

View file

@ -639,7 +639,7 @@ static int _unwind__prepare_access(struct thread *thread)
return -ENOMEM; return -ENOMEM;
} }
unw_set_caching_policy(thread->addr_space, UNW_CACHE_GLOBAL); unw_set_caching_policy(thread->addr_space, UNW_CACHE_NONE);
return 0; return 0;
} }