perf data: Correctly identify directory data files
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 4 Oct 2019 08:31:17 +0000 (11:31 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Nov 2019 18:43:05 +0000 (15:43 -0300)
commit490e6db09a9035d7b40a328a2a004ef70b6bdee6
tree986b5682a1995d17191981977972a08a3d554711
parentd44f821b0e13275735e8f3fe4db8703b45f05d52
perf data: Correctly identify directory data files

In order to rename the "header" file to "data" without conflicting,
correctly identify the non-header files as starting with "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-2-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/data.c