Re: [PATCH] perf timechart record: fix off-by-one error in argv

2014-03-17 Thread Stanislav Fomichev
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 fi

[PATCH] perf timechart record: fix off-by-one error in argv

2014-03-16 Thread Ramkumar Ramachandra
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 a