Re: [PATCH v2 net-next] bpf: fix bpf_perf_event_read() helper

From: Alexei Starovoitov
Date: Thu Oct 22 2015 - 11:51:18 EST


On 10/22/15 12:39 AM, Wangnan (F) wrote:
...
if (!perf_event_can_insert_to_map(attr))
....

Do you think redability is improved?

yes. makes sense. will respin.

--
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/