linux/tools/perf
Stephane Eranian 965bb6beaf perf script: Fix compiler warning in builtin_script.c:is_top_script()
Fix annoying compiler warning in the is_top_script() function.

The issue was that a const char * was cast into a char * to call
ends_with(). We fix the users of ends_with() instead. Some are passing a
char *, but it is okay to cast the return value of ends_with() to char *
(because we understand what ends_with() does).

Cc: David S. Miller <davem@davemloft.net>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Robert Richter <robert.richter@amd.com>
Cc: Stephane Eranian <eranian@gmail.com>
LKML-Reference: <4cf92096.17edd80a.1540.5d60@mx.google.com>
Signed-off-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2010-12-06 12:44:27 -02:00
..
arch
bench perf bench: Add feature that measures the performance of the arch/x86/lib/memcpy_64.S memcpy routines via 'perf bench mem' 2010-11-26 08:15:57 +01:00
Documentation perf tools: Ask for ID PERF_SAMPLE_ info on all PERF_RECORD_ events 2010-12-04 23:08:40 -02:00
scripts perf: Rename 'perf trace' to 'perf script' 2010-11-16 19:37:44 +01:00
util perf session: Sort all events if ordered_samples=true 2010-12-06 15:43:00 -02:00
.gitignore
builtin-annotate.c perf session: Parse sample earlier 2010-12-04 23:05:19 -02:00
builtin-bench.c
builtin-buildid-cache.c
builtin-buildid-list.c
builtin-diff.c perf session: Parse sample earlier 2010-12-04 23:05:19 -02:00
builtin-help.c
builtin-inject.c perf session: Parse sample earlier 2010-12-04 23:05:19 -02:00
builtin-kmem.c perf session: Parse sample earlier 2010-12-04 23:05:19 -02:00
builtin-kvm.c
builtin-list.c
builtin-lock.c perf session: Parse sample earlier 2010-12-04 23:05:19 -02:00
builtin-probe.c
builtin-record.c perf tools: Ask for ID PERF_SAMPLE_ info on all PERF_RECORD_ events 2010-12-04 23:08:40 -02:00
builtin-report.c perf session: Parse sample earlier 2010-12-04 23:05:19 -02:00
builtin-sched.c perf session: Parse sample earlier 2010-12-04 23:05:19 -02:00
builtin-script.c perf script: Fix compiler warning in builtin_script.c:is_top_script() 2010-12-06 12:44:27 -02:00
builtin-stat.c perf stat: Add csv-style output 2010-12-01 19:47:41 -02:00
builtin-test.c
builtin-timechart.c perf session: Parse sample earlier 2010-12-04 23:05:19 -02:00
builtin-top.c perf tools: Ask for ID PERF_SAMPLE_ info on all PERF_RECORD_ events 2010-12-04 23:08:40 -02:00
builtin.h perf: Rename 'perf trace' to 'perf script' 2010-11-16 19:37:44 +01:00
command-list.txt Merge branch 'perf/rename' into perf/core 2010-12-01 09:22:19 +01:00
CREDITS
design.txt
feature-tests.mak perf tools: Remove hardcoded include paths for elfutils 2010-11-19 16:38:04 -02:00
Makefile Merge branch 'perf/rename' into perf/core 2010-12-01 09:22:19 +01:00
MANIFEST perf packaging: add memcpy to perf MANIFEST 2010-11-30 23:00:10 -02:00
perf-archive.sh
perf.c perf: Rename 'perf trace' to 'perf script' 2010-11-16 19:37:44 +01:00
perf.h