Re: [PATCH v4 2/4] bpf: Add new bpf map type to store the pointer to struct perf_event

From: Alexei Starovoitov
Date: Wed Jul 29 2015 - 21:45:41 EST


On 7/29/15 4:30 PM, Daniel Borkmann wrote:
+ if (map && map->map_type == BPF_MAP_TYPE_PERF_EVENT_ARRAY &&
+ func_id != BPF_FUNC_perf_event_read)

this part belongs in patch 3, since patch 2 won't compile as-is.
Please keep bi-sectability intact.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/