perf trace: Fix detection of script extension
commitd1e95bb5309f98368dd4fbef6ff3a8f573b24506
authorBen Hutchings <ben@decadent.org.uk>
Sun, 10 Oct 2010 15:11:02 +0000 (10 16:11 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 23 Oct 2010 17:31:20 +0000 (23 15:31 -0200)
tree08ab235d89d8caf267263c133b5ad27801b494de
parent44e668c6faa9a6c477a32788e7e88f0754c54a4e
perf trace: Fix detection of script extension

The extension starts with the last dot in the name, not the first.

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1286723462.2955.206.camel@localhost>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c