collector.c: In function 'sysprof_perf_counter_open':
collector.c:193:21: error: '__NR_perf_counter_open' undeclared (first use in this function)
collector.c:193:21: note: each undeclared identifier is reported only once for each function it appears in
collector.c: In function 'on_read':
collector.c:261:5: warning: implicit declaration of function 'rmb' [-Wimplicit-function-declaration]
collector.c: In function 'process_event':
collector.c:655:11: warning: variable 'name' set but not used [-Wunused-but-set-variable]
collector.c: In function 'sysprof_perf_counter_open':
collector.c:194:1: warning: control reaches end of non-void function [-Wreturn-type]
From the error log:
collector.c: In function 'sysprof_ perf_counter_ open': counter_ open' undeclared (first use in this function) function- declaration] but-set- variable] perf_counter_ open':
collector.c:193:21: error: '__NR_perf_
collector.c:193:21: note: each undeclared identifier is reported only once for each function it appears in
collector.c: In function 'on_read':
collector.c:261:5: warning: implicit declaration of function 'rmb' [-Wimplicit-
collector.c: In function 'process_event':
collector.c:655:11: warning: variable 'name' set but not used [-Wunused-
collector.c: In function 'sysprof_
collector.c:194:1: warning: control reaches end of non-void function [-Wreturn-type]