]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb11a72792fed0c4b00f2e34b1b2f4e4072e09ea0
tree3246c40e68a49039ca51b5a235f90abd8e9eefeb
parentf9288cd9f337071ecc084be1e460f90010b53c84
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