|
@@ -65,6 +65,7 @@ int tracing_data_put(struct tracing_data *tdata);
|
|
|
struct addr_location;
|
|
|
|
|
|
struct perf_session;
|
|
|
+struct perf_stat_config;
|
|
|
|
|
|
struct scripting_ops {
|
|
|
const char *name;
|
|
@@ -75,6 +76,9 @@ struct scripting_ops {
|
|
|
struct perf_sample *sample,
|
|
|
struct perf_evsel *evsel,
|
|
|
struct addr_location *al);
|
|
|
+ void (*process_stat)(struct perf_stat_config *config,
|
|
|
+ struct perf_evsel *evsel, u64 tstamp);
|
|
|
+ void (*process_stat_interval)(u64 tstamp);
|
|
|
int (*generate_script) (struct pevent *pevent, const char *outfile);
|
|
|
};
|
|
|
|