summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/session.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2017-08-03 13:24:33 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-11-17 12:14:09 -0300
commitdc83e1394083d6e12625a3158bf88396dfaec633 (patch)
tree23b38f99d213d62b0932753ab293637363d6c6c5 /tools/perf/util/session.h
parent014681208ea0d1a7e5ea2f014242e7d196d04c34 (diff)
downloadop-kernel-dev-dc83e1394083d6e12625a3158bf88396dfaec633.zip
op-kernel-dev-dc83e1394083d6e12625a3158bf88396dfaec633.tar.gz
perf ordered_events: Pass timestamp arg in perf_session__queue_event
There's no need to pass whole sample data, because it's only timestamp that is used. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-xd1hpoze3kgb1rb639o3vehb@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/session.h')
-rw-r--r--tools/perf/util/session.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/session.h b/tools/perf/util/session.h
index 80bc80d..5b1c32b 100644
--- a/tools/perf/util/session.h
+++ b/tools/perf/util/session.h
@@ -53,7 +53,7 @@ int perf_session__peek_event(struct perf_session *session, off_t file_offset,
int perf_session__process_events(struct perf_session *session);
int perf_session__queue_event(struct perf_session *s, union perf_event *event,
- struct perf_sample *sample, u64 file_offset);
+ u64 timestamp, u64 file_offset);
void perf_tool__fill_defaults(struct perf_tool *tool);
OpenPOWER on IntegriCloud