eh_elf: report timer
This commit is contained in:
parent
c6ae72f381
commit
67035cd071
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue