Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1195675

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

From Alexei Starovoitov <ast@plumgrid.com>
Newsgroups linux.kernel
Subject Re: [PATCH v4 2/4] bpf: Add new bpf map type to store the pointer to struct perf_event
Date 2015-07-30 03:50 +0200
Message-ID <pRL8S-wR-13@gated-at.bofh.it> (permalink)
References <pRb5o-7Bt-33@gated-at.bofh.it> <pRbf5-7N4-19@gated-at.bofh.it> <pRJ74-66J-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v4 2/4] bpf: Add new bpf map type to store the pointer to  struct perf_event Alexei Starovoitov <ast@plumgrid.com> - 2015-07-30 03:50 +0200

csiph-web