diff options
| author | Namhyung Kim <namhyung@kernel.org> | 2024-04-11 11:17:16 -0700 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2024-04-17 12:21:39 -0300 |
| commit | 0993d724674a9d905ebdc9b9cd0b64e30523c5d6 (patch) | |
| tree | 0e0460bcbdcd2101a67ebf779a4eabf65693a1fc /tools/perf/util/values.h | |
| parent | a5a00497b9dfefbf6872f387bc7692919e1785d3 (diff) | |
| download | linux-next-0993d724674a9d905ebdc9b9cd0b64e30523c5d6.tar.gz linux-next-0993d724674a9d905ebdc9b9cd0b64e30523c5d6.zip | |
perf hist: Move histogram related code to hist.h
It's strange that sort.h has the definition of struct hist_entry. As
sort.h already includes hist.h, let's move the data structure to hist.h.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: https://lore.kernel.org/r/20240411181718.2367948-1-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/values.h')
| -rw-r--r-- | tools/perf/util/values.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/values.h b/tools/perf/util/values.h index 8c41f22f42cf..791c1ad606c2 100644 --- a/tools/perf/util/values.h +++ b/tools/perf/util/values.h @@ -2,6 +2,7 @@ #ifndef __PERF_VALUES_H #define __PERF_VALUES_H +#include <stdio.h> #include <linux/types.h> struct perf_read_values { |
