summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2022-07-11 12:31:46 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-07-20 11:07:30 -0300
commitf8bcf1e223ad08a4f0d45369a749c58c9bcd5f3c (patch)
tree4d5fcd9f72665fcaeb1650ccfd8200c5071e46e2 /tools/perf/scripts/python/export-to-sqlite.py
parent163dac34d7a22b4fd980e4d00459a07090f8b9af (diff)
downloadlinux-stable-f8bcf1e223ad08a4f0d45369a749c58c9bcd5f3c.tar.gz
linux-stable-f8bcf1e223ad08a4f0d45369a749c58c9bcd5f3c.tar.bz2
linux-stable-f8bcf1e223ad08a4f0d45369a749c58c9bcd5f3c.zip
perf ordered_events: Add ordered_events__last_flush_time()
Allow callers to get the ordered_events last flush timestamp. This is needed in perf inject to obey finished-round ordering when injecting additional events (e.g. from a guest perf.data file) with timestamps. Any additional events that have timestamps before the last flush time must be injected before the corresponding FINISHED_ROUND event. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Acked-by: Ian Rogers <irogers@google.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: kvm@vger.kernel.org Link: https://lore.kernel.org/r/20220711093218.10967-4-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions