Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1197175 > unrolled thread
| Started by | Alexei Starovoitov <ast@plumgrid.com> |
|---|---|
| First post | 2015-07-31 18:40 +0200 |
| Last post | 2015-07-31 18:40 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH v5 2/4] bpf: Add new bpf map type to store the pointer to struct perf_event Alexei Starovoitov <ast@plumgrid.com> - 2015-07-31 18:40 +0200
| From | Alexei Starovoitov <ast@plumgrid.com> |
|---|---|
| Date | 2015-07-31 18:40 +0200 |
| Subject | Re: [PATCH v5 2/4] bpf: Add new bpf map type to store the pointer to struct perf_event |
| Message-ID | <pSlvJ-2Sa-15@gated-at.bofh.it> |
On 7/31/15 4:59 AM, Kaixu Xia wrote:
> + /*
> + * prevent some crazy events so we can make our life easier
> + */
> + if (event->attr.type != PERF_TYPE_RAW &&
> + event->attr.type != PERF_TYPE_HARDWARE) {
> + perf_event_release_kernel(event);
> + return ERR_PTR(-EINVAL);
> + }
either remove the comment and make it clean.
--
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 top | Article view | linux.kernel
csiph-web