linux/tools/perf/util
Arnaldo Carvalho de Melo 34a0548f01 perf tools: Add missing parse_events_error() prototype
As pointed out by clang, we were not providing a prototype for a
function before using it:

  util/parse-events.y:699:6: error: conflicting types for 'parse_events_error'
  void parse_events_error(YYLTYPE *loc, void *data,
       ^
  /tmp/build/perf/util/parse-events-bison.c:2224:7: note: previous implicit declaration is here
        yyerror (&yylloc, _data, scanner, YY_("syntax error"));
        ^
  /tmp/build/perf/util/parse-events-bison.c:65:25: note: expanded from macro 'yyerror'
  #define yyerror         parse_events_error

  1 error generated.

One line fix it.

Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/20170215130605.GC4020@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2017-02-15 11:20:49 -03:00
..
c++ perf clang: Compile BPF script using builtin clang support 2016-12-05 15:51:45 -03:00
include
intel-pt-decoder perf intel pt decoder: clang has no -Wno-override-init 2017-02-14 16:18:02 -03:00
libunwind
scripting-engines perf symbols: dso->name is an array, no need to check it against NULL 2017-02-13 17:22:35 -03:00
alias.c
annotate.c perf annotate: Don't throw error for zero length symbols 2016-12-20 12:00:32 -03:00
annotate.h perf annotate: Fix jump target outside of function address range 2016-12-15 16:25:46 -03:00
auxtrace.c
auxtrace.h
block-range.c
block-range.h
bpf-loader.c perf bpf: Add missing newline in debug messages 2017-02-08 08:55:02 -03:00
bpf-loader.h
bpf-prologue.c
bpf-prologue.h
Build perf tools: Move two variables usied in libperf from perf.c 2017-01-17 11:36:45 -03:00
build-id.c
build-id.h
cache.h
call-path.c
call-path.h
callchain.c perf callchain: Reference count maps 2017-02-02 11:39:09 -03:00
callchain.h perf callchain: Reference count maps 2017-02-02 11:39:09 -03:00
cgroup.c
cgroup.h
cloexec.c
cloexec.h
color.c
color.h
comm.c
comm.h
config.c perf tools: Propagate perf_config() errors 2017-01-27 12:23:33 -03:00
config.h perf config: Mark where are config items from (user or system) 2016-11-14 13:10:37 -03:00
counts.c
counts.h
cpumap.c
cpumap.h
cs-etm.h
ctype.c
data-convert-bt.c perf tools: Propagate perf_config() errors 2017-01-27 12:23:33 -03:00
data-convert-bt.h
data-convert.h
data.c
data.h
db-export.c
db-export.h
debug.c
debug.h
demangle-java.c
demangle-java.h
demangle-rust.c
demangle-rust.h
drv_configs.c
drv_configs.h
dso.c perf unwind: Fix looking up dwarf unwind stack info 2017-01-18 12:29:52 -03:00
dso.h
dwarf-aux.c
dwarf-aux.h
dwarf-regs.c
env.c
env.h
event.c perf tools: Fix include of linux/mman.h 2017-02-08 16:06:21 -03:00
event.h
evlist.c perf record: Add switch-output size warning 2017-01-11 16:48:02 -03:00
evlist.h perf record: Add switch-output size warning 2017-01-11 16:48:02 -03:00
evsel_fprintf.c perf symbols: No need to check if sym->name is NULL 2017-02-13 17:22:34 -03:00
evsel.c perf evsel: Do not put a variable sized type not at the end of a struct 2017-02-14 15:56:54 -03:00
evsel.h perf evsel: Allow to ignore missing pid 2016-12-15 16:25:46 -03:00
find-vdso-map.c
genelf_debug.c
genelf.c
genelf.h
generate-cmdlist.sh
group.h
header.c perf header: Fix handling of PERF_EVENT_UPDATE__SCALE 2017-02-08 22:06:18 -03:00
header.h
help-unknown-cmd.c
help-unknown-cmd.h
hist.c perf callchain: Reference count maps 2017-02-02 11:39:09 -03:00
hist.h perf diff: Fix -o/--order option behavior (again) 2017-02-02 11:39:09 -03:00
intel-bts.c
intel-bts.h
intel-pt.c perf tools: Propagate perf_config() errors 2017-01-27 12:23:33 -03:00
intel-pt.h
intlist.c
intlist.h
jit.h
jitdump.c
jitdump.h
kvm-stat.h
levenshtein.c
levenshtein.h
llvm-utils.c perf tools: Propagate perf_config() errors 2017-01-27 12:23:33 -03:00
llvm-utils.h perf llvm: Extract helpers in llvm-utils.c 2016-12-05 15:51:42 -03:00
lzma.c
machine.c perf tools: Be consistent on the type of map->symbols[] interator 2017-02-14 16:19:56 -03:00
machine.h perf machine: Add a kallsyms loading constructor 2017-01-11 16:48:00 -03:00
map.c perf symbols: dso->name is an array, no need to check it against NULL 2017-02-13 17:22:35 -03:00
map.h
mem-events.c perf c2c report: Add struct c2c_stats::tot_hitm field 2016-11-23 10:44:05 -03:00
mem-events.h perf c2c report: Add struct c2c_stats::tot_hitm field 2016-11-23 10:44:05 -03:00
ordered-events.c
ordered-events.h
parse-branch-options.c perf tools: Add missing object file to the python binding linkage list 2016-10-28 11:29:45 -02:00
parse-branch-options.h
parse-events.c perf tools: Do not put a variable sized type not at the end of a struct 2017-02-14 15:19:19 -03:00
parse-events.h
parse-events.l
parse-events.y perf tools: Add missing parse_events_error() prototype 2017-02-15 11:20:49 -03:00
parse-regs-options.c
parse-regs-options.h
path.c
perf_regs.c
perf_regs.h
perf-hooks-list.h perf tools: Introduce perf hooks 2016-11-29 12:13:27 -03:00
perf-hooks.c perf tools: Pass context to perf hook functions 2016-12-05 15:51:42 -03:00
perf-hooks.h perf tools: Pass context to perf hook functions 2016-12-05 15:51:42 -03:00
PERF-VERSION-GEN
pmu.c perf pmu: Fix check for unset alias->unit array 2017-02-15 10:06:20 -03:00
pmu.h perf list: Add debug support for outputing alias string 2017-02-08 08:55:04 -03:00
pmu.l
pmu.y
probe-event.c perf probe: Avoid accessing uninitialized 'map' variable 2017-02-14 15:28:41 -03:00
probe-event.h perf tools: Add missing struct definition in probe_event.h 2016-11-25 11:25:46 -03:00
probe-file.c
probe-file.h
probe-finder.c perf probe: Fix to probe on gcc generated functions in modules 2017-01-16 15:43:04 -03:00
probe-finder.h perf probe: Fix to probe on gcc generated functions in modules 2017-01-16 15:43:04 -03:00
pstack.c
pstack.h
python-ext-sources perf tools: Add missing object file to the python binding linkage list 2016-10-28 11:29:45 -02:00
python.c
quote.c
quote.h
rb_resort.h
rblist.c
rblist.h
record.c
session.c perf tools: Be consistent on the type of map->symbols[] interator 2017-02-14 16:19:56 -03:00
session.h
setup.py
sort.c
sort.h
srcline.c
stat-shadow.c
stat.c
stat.h
strbuf.c
strbuf.h
strfilter.c tools strfilter: Use __fallthrough 2017-02-08 17:31:10 -03:00
strfilter.h
string.c tools string: Use __fallthrough in perf_atoll() 2017-02-08 17:31:01 -03:00
strlist.c
strlist.h
svghelper.c
svghelper.h
symbol_fprintf.c perf symbols: No need to check if sym->name is NULL 2017-02-13 17:22:34 -03:00
symbol-elf.c perf symbols: Robustify reading of build-id from sysfs 2017-01-03 16:11:13 -03:00
symbol-minimal.c
symbol.c perf symbols: Take into account symfs setting when reading file build ID 2017-02-08 09:28:55 -03:00
symbol.h perf script: Add option to stop printing callchain 2016-11-29 13:06:19 -03:00
syscalltbl.c
syscalltbl.h
target.c
target.h
term.c
term.h
thread_map.c perf thread_map: Correctly size buffer used with dirent->dt_name 2017-02-08 17:31:28 -03:00
thread_map.h perf thread_map: Add thread_map__remove function 2016-12-15 16:25:45 -03:00
thread-stack.c
thread-stack.h
thread.c
thread.h
time-utils.c perf tools: Move parse_nsec_time to time-utils.c 2016-12-01 13:02:39 -03:00
time-utils.h perf tools: Move parse_nsec_time to time-utils.c 2016-12-01 13:02:39 -03:00
tool.h
top.c
top.h
trace-event-info.c perf tools: Create for_each_event macro for tracepoints iteration 2017-01-31 16:20:08 -03:00
trace-event-parse.c perf util: Save pid-cmdline mapping into tracing header 2017-01-26 11:42:59 -03:00
trace-event-read.c perf util: Add more debug message on failure path 2017-01-26 11:43:00 -03:00
trace-event-scripting.c perf scripting: Don't die if scripting can't be setup, disable it 2016-10-28 11:29:44 -02:00
trace-event.c
trace-event.h perf util: Save pid-cmdline mapping into tracing header 2017-01-26 11:42:59 -03:00
trigger.h
tsc.c
tsc.h
unwind-libdw.c
unwind-libdw.h
unwind-libunwind-local.c perf unwind: Fix looking up dwarf unwind stack info 2017-01-18 12:29:52 -03:00
unwind-libunwind.c
unwind.h
usage.c
util-cxx.h perf clang: Update test case to use real BPF script 2016-12-05 15:51:44 -03:00
util.c tools perf util: Make rm_rf(path) argument const 2017-01-31 16:20:07 -03:00
util.h tools perf util: Make rm_rf(path) argument const 2017-01-31 16:20:07 -03:00
values.c perf tools: Use normal error reporting when processing PERF_RECORD_READ events 2016-10-24 11:07:44 -03:00
values.h perf tools: Use normal error reporting when processing PERF_RECORD_READ events 2016-10-24 11:07:44 -03:00
vdso.c
vdso.h
xyarray.c
xyarray.h
zlib.c