Re: [PATCH] perf timechart record: fix off-by-one error in argv
From: Stanislav Fomichev
Date: Mon Mar 17 2014 - 06:11:28 EST
On Sun, Mar 16, 2014 at 12:06:05PM -0400, Ramkumar Ramachandra wrote:
> 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.
>
> Cc: Stanislav Fomichev <stfomichev@xxxxxxxxxxxxxx>
Thanks. I probably never actually tested it with the command :-\
Acked-by: Stanislav Fomichev <stfomichev@xxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/