aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2012-10-03 00:21:32 +0900
committerArnaldo Carvalho de Melo <[email protected]>2012-10-02 18:36:42 -0300
commita1d668c3ffd38d611f8446615e8f797dcfdfc397 (patch)
treea9a40bf0f2ae0cfc2ec494f8d30ed27c546d6b28 /tools/perf/util/trace-event-scripting.c
parent002439e84ed67cbb33cab4057fcd6a4146c0f815 (diff)
perf tools: Check existence of _get_comp_words_by_ref when bash completing
The '_get_comp_words_by_ref' function is available from the bash completion v1.2 so that earlier version emits following warning: $ perf re<TAB>_get_comp_words_by_ref: command not found Use older '_get_cword' method when the above function doesn't exist. Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Frederic Weisbecker <[email protected]> Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions