Em Fri, Jan 22, 2016 at 11:28:10AM +0530, Ravi Bangoria escreveu:
This patch changes prototype of perf_event__preprocess_sample() withFixing these problems:
additional argument evsel added at last.
This change is required because perf_event__preprocess_sample()
function will use evsel to determine cpumode of samples for powerpc
architecture.
Signed-off-by: Ravi Bangoria<ravi.bangoria@xxxxxxxxxxxxxxxxxx>
CC /tmp/build/perf/ui/gtk/util.o
util/event.c: In function âperf_event__preprocess_sampleâ:
util/event.c:1302:26: error: unused parameter âevselâ [-Werror=unused-parameter]
struct perf_evsel *evsel)
^
cc1: all warnings being treated as errors
mv: cannot stat â/tmp/build/perf/util/.event.o.tmpâ: No such file or directory
/home/acme/git/linux/tools/build/Makefile.build:77: recipe for target '/tmp/build/perf/util/event.o' failed
make[3]: *** [/tmp/build/perf/util/event.o] Error 1
make[3]: *** Waiting for unfinished jobs....
CC /tmp/build/perf/ui/gtk/helpline.o
CC /tmp/build/perf/arch/common.o
/home/acme/git/linux/tools/build/Makefile.build:116: recipe for target 'util' failed
make[2]: *** [util] Error 2
make[2]: *** Waiting for unfinished jobs....