diff options
author | Kan Liang <kan.liang@linux.intel.com> | 2020-09-11 17:48:05 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-09-17 21:47:55 +0300 |
commit | 687986bbeb668068d39a47658edf4d7a6414eefb (patch) | |
tree | 9e11e21b91c62f1bbba86effb82860e35ab01691 /tools/perf/arch/x86/util | |
parent | c57f5eaa094ee93b4e27f6624349bc90d41a4e68 (diff) | |
download | linux-687986bbeb668068d39a47658edf4d7a6414eefb.tar.xz |
perf tools: Rename group to topdown
The group.h/c only include TopDown group related functions. The name
"group" is too generic and inaccurate. Use the name "topdown" to replace
it.
Move topdown related functions to a dedicated file, topdown.c.
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lore.kernel.org/lkml/20200911144808.27603-2-kan.liang@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/arch/x86/util')
-rw-r--r-- | tools/perf/arch/x86/util/Build | 2 | ||||
-rw-r--r-- | tools/perf/arch/x86/util/topdown.c (renamed from tools/perf/arch/x86/util/group.c) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/arch/x86/util/Build b/tools/perf/arch/x86/util/Build index 47f9c56e744f..347c39b960eb 100644 --- a/tools/perf/arch/x86/util/Build +++ b/tools/perf/arch/x86/util/Build @@ -3,7 +3,7 @@ perf-y += tsc.o perf-y += pmu.o perf-y += kvm-stat.o perf-y += perf_regs.o -perf-y += group.o +perf-y += topdown.o perf-y += machine.o perf-y += event.o diff --git a/tools/perf/arch/x86/util/group.c b/tools/perf/arch/x86/util/topdown.c index e2f8034b8973..597e963fb3e7 100644 --- a/tools/perf/arch/x86/util/group.c +++ b/tools/perf/arch/x86/util/topdown.c @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 #include <stdio.h> #include "api/fs/fs.h" -#include "util/group.h" +#include "util/topdown.h" /* * Check whether we can use a group for top down. |