android_kernel_samsung_msm8976/tools/perf
Masami Hiramatsu e1d2017b24 perf probe: Fix event namelist to duplicate string
Fix event namelist to duplicate string. Without duplicating, adding
multiple probes causes stack overwrite bug, because it reuses a
buffer on stack while the buffer is already added in the namelist.
String duplication solves this bug because only contents of the
buffer is copied to the namelist.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: systemtap <systemtap@sources.redhat.com>
Cc: DLE <dle-develop@lists.sourceforge.net>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20091207170046.19230.55557.stgit@dhcp-100-2-132.bos.redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-12-07 18:33:21 +01:00
..
bench perf tools: Introduce zalloc() for the common calloc(1, N) case 2009-11-24 16:37:02 +01:00
Documentation perf trace: Add Documentation for perf trace Perl support 2009-11-28 10:04:27 +01:00
scripts/perl perf trace/scripting: Add Fedora libperl install note to doc 2009-11-30 09:04:01 +01:00
util perf probe: Fix event namelist to duplicate string 2009-12-07 18:33:21 +01:00
.gitignore perf tools: Add perf.data to .gitignore 2009-11-24 16:37:01 +01:00
builtin-annotate.c perf annotate: Fix perf data parsing 2009-12-01 08:14:08 +01:00
builtin-bench.c perf bench: Add memcpy() benchmark 2009-11-19 06:21:48 +01:00
builtin-buildid-list.c perf buildid-list: Fix copy'n'paste help message 2009-12-06 21:07:08 +01:00
builtin-help.c perf tools: Introduce zalloc() for the common calloc(1, N) case 2009-11-24 16:37:02 +01:00
builtin-kmem.c perf_event: Eliminate raw->size 2009-12-07 06:26:25 +01:00
builtin-list.c
builtin-probe.c perf_event: Fix compile error 2009-12-02 09:27:01 +01:00
builtin-record.c perf record, x86: Print more intelligent error message when sampling fails 2009-11-23 09:40:13 +01:00
builtin-report.c perf: Make common SAMPLE_EVENT parser 2009-12-06 18:15:01 +01:00
builtin-sched.c perf_event: Eliminate raw->size 2009-12-07 06:26:25 +01:00
builtin-stat.c perf stat: Do not print ratio when task-clock event is not counted 2009-11-15 15:25:50 +01:00
builtin-timechart.c perf: Make common SAMPLE_EVENT parser 2009-12-06 18:15:01 +01:00
builtin-top.c perf tools: Consolidate symbol resolving across all tools 2009-11-27 20:22:02 +01:00
builtin-trace.c perf: Make common SAMPLE_EVENT parser 2009-12-06 18:15:01 +01:00
builtin.h perf: Add 'perf kmem' tool 2009-11-20 09:51:41 +01:00
command-list.txt perf kmem: Add help file 2009-11-24 08:49:51 +01:00
CREDITS
design.txt perf_event: Add alignment-faults and emulation-faults software events 2009-10-28 16:13:03 +11:00
Makefile Merge branch 'perf/scripting' into perf/core 2009-12-03 20:10:42 +01:00
perf.c perf: Add 'perf kmem' tool 2009-11-20 09:51:41 +01:00
perf.h perf tools: Add ia64 support for tools/perf/ 2009-11-19 06:03:33 +01:00