summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/probe-finder.c
diff options
context:
space:
mode:
authorFrederic Weisbecker2010-04-14 19:11:29 +0200
committerArnaldo Carvalho de Melo2010-04-14 21:59:21 +0200
commitfcd1498405c2c88ac632e7c3c3fce3213d9196db (patch)
treebba62d6928d259f2bd26d592432769fd3af0904b /tools/perf/util/probe-finder.c
parentperf: Make clock software events consistent with general exclusion rules (diff)
downloadkernel-qcow2-linux-fcd1498405c2c88ac632e7c3c3fce3213d9196db.tar.gz
kernel-qcow2-linux-fcd1498405c2c88ac632e7c3c3fce3213d9196db.tar.xz
kernel-qcow2-linux-fcd1498405c2c88ac632e7c3c3fce3213d9196db.zip
perf tools: Fix accidentally preprocessed snprintf callback
struct sort_entry has a callback named snprintf that turns an entry into a string result. But there are glibc versions that implement snprintf through a macro. The following expression is then going to get the snprintf call preprocessed: ent->snprintf(...) to finally end up in a build error: util/hist.c: Dans la fonction «hist_entry__snprintf» : util/hist.c:539: erreur: «struct sort_entry» has no member named «__builtin___snprintf_chk» To fix this, prepend struct sort_entry callbacks with an "se_" prefix. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/probe-finder.c')
0 files changed, 0 insertions, 0 deletions