perf session: Adopt the sample_type variable
[deliverable/linux.git] / tools / perf / util / session.h
index a8f3a49ca43a28b69a3bf58cab6b69a9f72c06ec..4e8a21c5304cac64cb1c96b90cdf3541d3309b0c 100644 (file)
@@ -19,6 +19,7 @@ struct perf_session {
        struct rb_root          threads;
        struct thread           *last_match;
        struct rb_root          hists;
+       u64                     sample_type;
        int                     fd;
        int                     cwdlen;
        char                    *cwd;
@@ -39,8 +40,7 @@ struct perf_event_ops {
        event_op        process_read_event;
        event_op        process_throttle_event;
        event_op        process_unthrottle_event;
-       int             (*sample_type_check)(u64 sample_type,
-                                            struct perf_session *session);
+       int             (*sample_type_check)(struct perf_session *session);
        unsigned long   total_unknown;
        bool            full_paths;
 };
This page took 0.024939 seconds and 5 git commands to generate.