OSDN Git Service

perf session: Add facility to peek at all events
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 15 Nov 2019 12:42:20 +0000 (14:42 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 22 Nov 2019 13:48:13 +0000 (10:48 -0300)
commit103ed40e4bfa6986d80983b3e67be9d2f61fc9ee
tree3246c40e68a49039ca51b5a235f90abd8e9eefeb
parentb04b8dd1e4265525dbd74647f747e63e85540189
perf session: Add facility to peek at all events

AUX area samples are not limited in how far back in time the sample
could start. Consequently samples must be queued in advance to allow for
time-ordered processing. To achieve that, add
perf_session__peek_events() that walks and peeks at all the events.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lore.kernel.org/lkml/20191115124225.5247-11-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/session.c
tools/perf/util/session.h