diff options
author | Ramkumar Ramachandra <artagnon@gmail.com> | 2014-03-16 12:06:05 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-03-18 18:16:47 -0300 |
commit | 263f89bf7d0f5ba98077dda8df1ff814862ad5ba (patch) | |
tree | 571f9dd38c03a4458fa98e1b0e1cd1c4b722097f /scripts/checksyscalls.sh | |
parent | 0afd2d51029961281572d02545c7bde1b3f4292c (diff) | |
download | linux-263f89bf7d0f5ba98077dda8df1ff814862ad5ba.tar.gz linux-263f89bf7d0f5ba98077dda8df1ff814862ad5ba.tar.bz2 linux-263f89bf7d0f5ba98077dda8df1ff814862ad5ba.zip |
perf timechart: Fix off-by-one error in 'record' argv handling
Since 367b315 (perf timechart: Add support for -P and -T in timechart
recording, 2013-11-01), the 'perf timechart record' command stopped
working:
$ perf timechart record -- git status
Workload failed: No such file or directory
This happens because of an off-by-one error while preparing the argv for
cmd_record(): it attempts to execute the command 'status' and complains
that it doesn't exist. Fix this error.
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Acked-by: Stanislav Fomichev <stfomichev@yandex-team.ru>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stanislav Fomichev <stfomichev@yandex-team.ru>
Link: http://lkml.kernel.org/r/1394985965-2332-1-git-send-email-artagnon@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/checksyscalls.sh')
0 files changed, 0 insertions, 0 deletions