diff options
author | 2019-10-04 11:31:19 +0300 | |
---|---|---|
committer | 2019-11-06 15:43:05 -0300 | |
commit | 9b70b9db4e0cc03d224795a18088fdb916dec823 (patch) | |
tree | 936e068163786596b8a0649280bcfe2852dcc381 /tools/perf/util/util.c | |
parent | perf data: Move perf_dir_version into data.h (diff) | |
download | linux-9b70b9db4e0cc03d224795a18088fdb916dec823.tar.gz linux-9b70b9db4e0cc03d224795a18088fdb916dec823.tar.bz2 linux-9b70b9db4e0cc03d224795a18088fdb916dec823.zip |
perf data: Rename directory "header" file to "data"
In preparation to support a single file directory format, rename "header"
to "data" because "header" is a mis-leading name when there is only 1 file.
Note, in the multi-file case, the "header" file also contains data.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lore.kernel.org/lkml/20191004083121.12182-4-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/util.c')
-rw-r--r-- | tools/perf/util/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/util.c b/tools/perf/util/util.c index ae56c766eda1..3096654377c2 100644 --- a/tools/perf/util/util.c +++ b/tools/perf/util/util.c @@ -185,7 +185,7 @@ static int rm_rf_depth_pat(const char *path, int depth, const char **pat) int rm_rf_perf_data(const char *path) { const char *pat[] = { - "header", + "data", "data.*", NULL, }; |