diff options
| author | Ingo Molnar <mingo@kernel.org> | 2017-11-29 01:11:24 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2017-11-29 01:11:24 -0500 |
| commit | 4fc31ba13d052c2933bf91095c063cf9a39effd0 (patch) | |
| tree | beabb73c2fe245e6541126732895da62e55bc8ee /kernel/bpf/arraymap.c | |
| parent | 0e18dd12064e07519f7cbff4149ca7fff620cbed (diff) | |
| parent | b29c6ef7bb1257853c1e31616d84f55e561cf631 (diff) | |
Merge branch 'linus' into perf/urgent, to pick up dependent commits
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/bpf/arraymap.c')
| -rw-r--r-- | kernel/bpf/arraymap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/bpf/arraymap.c b/kernel/bpf/arraymap.c index e2636737b69b..c4b9ab01bba5 100644 --- a/kernel/bpf/arraymap.c +++ b/kernel/bpf/arraymap.c | |||
| @@ -492,7 +492,7 @@ static void *perf_event_fd_array_get_ptr(struct bpf_map *map, | |||
| 492 | 492 | ||
| 493 | ee = ERR_PTR(-EOPNOTSUPP); | 493 | ee = ERR_PTR(-EOPNOTSUPP); |
| 494 | event = perf_file->private_data; | 494 | event = perf_file->private_data; |
| 495 | if (perf_event_read_local(event, &value) == -EOPNOTSUPP) | 495 | if (perf_event_read_local(event, &value, NULL, NULL) == -EOPNOTSUPP) |
| 496 | goto err_out; | 496 | goto err_out; |
| 497 | 497 | ||
| 498 | ee = bpf_event_entry_gen(perf_file, map_file); | 498 | ee = bpf_event_entry_gen(perf_file, map_file); |
