Re: [PATCH 33/42] perf tools: Complete tracepoint event names
From: Frederic Weisbecker
Date: Fri Oct 05 2012 - 08:39:16 EST
On Thu, Oct 04, 2012 at 03:08:33PM -0300, Arnaldo Carvalho de Melo wrote:
> From: Namhyung Kim <namhyung.kim@xxxxxxx>
>
> Currently tracepoint events cannot be completed because they contain a
> colon (:) character. The colon is considered as a word separator when
> bash completion is done - variable COMP_WORDBREAKS contains colon - so
> if a word being completed contains a colon it can be a problem.
>
> Recent versions of bash completion provide -n switch to
> _get_comp_words_by_ref and __ltrim_colon_completions functions in order
> to resolve this issue. Copy the latter in case not exists.
Thanks for fixing this! I scratched my head on that bug.
--
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/