Compare commits

...

2 Commits

Author SHA1 Message Date
Théophile Bastian f91dbfea0d Disable libunwind caching 2018-06-15 02:15:08 +02:00
Théophile Bastian 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 <linux/mman.h>
#include <libunwind.h>
struct report {
struct perf_tool tool;
struct perf_session *session;
@ -1398,6 +1400,8 @@ repeat:
} else
ret = 0;
chrono_report_disp();
error:
zfree(&report.ptime_range);

View File

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