From bb3b2cfeb206f5b10b859e134651b54120e3f530 Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Tue, 30 Jun 2026 18:05:56 +0100 Subject: ARM: 9480/1: entry: expand comment in __switch_to As per discussion between the developers in the mail thread linked, expand the comment in __switch_to so that readers of the code understand what is going on. Suggested-by: Mark Rutland Acked-by: Mark Rutland Signed-off-by: Linus Walleij > Signed-off-by: Russell King --- tools/perf/util/values.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tools/perf/util/values.h (limited to 'tools/perf/util/values.h') diff --git a/tools/perf/util/values.h b/tools/perf/util/values.h new file mode 100644 index 000000000..bbca33dac --- /dev/null +++ b/tools/perf/util/values.h @@ -0,0 +1,30 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __PERF_VALUES_H +#define __PERF_VALUES_H + +#include +#include + +struct evsel; + +struct perf_read_values { + int threads; + int threads_max; + u32 *pid, *tid; + int num_counters; + int counters_max; + struct evsel **counters; + u64 **value; +}; + +int perf_read_values_init(struct perf_read_values *values); +void perf_read_values_destroy(struct perf_read_values *values); + +int perf_read_values_add_value(struct perf_read_values *values, + u32 pid, u32 tid, + struct evsel *evsel, u64 value); + +void perf_read_values_display(FILE *fp, struct perf_read_values *values, + int raw); + +#endif /* __PERF_VALUES_H */ -- cgit v1.3.1