Commit 87ff50a3192152944d8e65b485bbf3d03214d0b6

Authored by Irina Tirdea
Committed by Arnaldo Carvalho de Melo
1 parent 73eb422c10

perf archive: Make 'f' the last parameter for tar

On some systems, tar needs to specify the name of the archive immediately
after the -f parameter.

Change the order of the parameters so tar can run properly.

Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1347574063-22521-5-git-send-email-irina.tirdea@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

tools/perf/perf-archive.sh
... ... @@ -39,7 +39,7 @@
39 39 echo ${filename#$PERF_BUILDID_LINKDIR} >> $MANIFEST
40 40 done
41 41  
42   -tar cfj $PERF_DATA.tar.bz2 -C $PERF_BUILDID_DIR -T $MANIFEST
  42 +tar cjf $PERF_DATA.tar.bz2 -C $PERF_BUILDID_DIR -T $MANIFEST
43 43 rm $MANIFEST $BUILDIDS || true
44 44 echo -e "Now please run:\n"
45 45 echo -e "$ tar xvf $PERF_DATA.tar.bz2 -C ~/.debug\n"