X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=tools%2Fperf%2Fbuiltin-lock.c;h=9ac05aafd9b2563e9625945e5dfa93dc98dfabad;hb=50f3515828024582402044bcced6804c070c491c;hp=7a2a79d2cf2cc837a9e0894273b53cc31f3c589b;hpb=53a94c7d55dceb73aab2876afce4c563bc9111fe;p=karo-tx-linux.git diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c index 7a2a79d2cf2c..9ac05aafd9b2 100644 --- a/tools/perf/builtin-lock.c +++ b/tools/perf/builtin-lock.c @@ -845,7 +845,9 @@ static void dump_info(void) die("Unknown type of information\n"); } -static int process_sample_event(union perf_event *event, struct perf_sample *sample, +static int process_sample_event(union perf_event *event, + struct perf_sample *sample, + struct perf_evsel *evsel __used, struct perf_session *s) { struct thread *thread = perf_session__findnew(s, sample->tid);