]> Git Repo - linux.git/blobdiff - tools/perf/util/session.h
perf session: Remove sample_type_check from event_ops
[linux.git] / tools / perf / util / session.h
index a6951d2f700f91bb0ede7529904601aad7810408..5771ccb3fe031594a967bfeec9a9cc29bd1566bf 100644 (file)
@@ -40,7 +40,6 @@ struct perf_event_ops {
        event_op        process_read_event;
        event_op        process_throttle_event;
        event_op        process_unthrottle_event;
-       int             (*sample_type_check)(struct perf_session *session);
        unsigned long   total_unknown;
        bool            full_paths;
 };
@@ -56,7 +55,7 @@ struct symbol **perf_session__resolve_callchain(struct perf_session *self,
                                                struct ip_callchain *chain,
                                                struct symbol **parent);
 
-int perf_session__has_traces(struct perf_session *self);
+bool perf_session__has_traces(struct perf_session *self, const char *msg);
 
 int perf_header__read_build_ids(int input, u64 offset, u64 file_size);
 
This page took 0.036179 seconds and 4 git commands to generate.