1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __PERF_VALUES_H
3 #define __PERF_VALUES_H
5 #include <linux/types.h>
7 struct perf_read_values
{
18 int perf_read_values_init(struct perf_read_values
*values
);
19 void perf_read_values_destroy(struct perf_read_values
*values
);
21 int perf_read_values_add_value(struct perf_read_values
*values
,
23 u64 rawid
, const char *name
, u64 value
);
25 void perf_read_values_display(FILE *fp
, struct perf_read_values
*values
,
28 #endif /* __PERF_VALUES_H */