Compare commits
2 commits
eh_elf
...
vanilla_ti
Author | SHA1 | Date | |
---|---|---|---|
f91dbfea0d | |||
8b09fabf5a |
2 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue