Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1186760
| From | Peter Zijlstra <peterz@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC PATCH 3/6] bpf: Save the pointer to struct perf_event to map |
| Date | 2015-07-17 14:10 +0200 |
| Message-ID | <pNcCL-4Yl-27@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <pNbGG-3Dh-9@gated-at.bofh.it> <pNc02-3ZN-1@gated-at.bofh.it> <pNc9H-4aY-3@gated-at.bofh.it> <pNcjo-4ml-7@gated-at.bofh.it> <pNct4-4xC-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Jul 17, 2015 at 07:54:55PM +0800, Wangnan (F) wrote: > Thanks. In next version we will introduce a new function which do oppsite > thing to > perf_event_release_kernel() in perf/event/core.c, then fetch the event > before fdput. perf_event_get() as proposed, with the addition of the refcount increment inside the fdget/fdput() is fine. Note that the _get() name already implies a refcount increment. -- 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 — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC PATCH 3/6] bpf: Save the pointer to struct perf_event to map kaixu xia <xiakaixu@huawei.com> - 2015-07-17 12:50 +0200
Re: [RFC PATCH 3/6] bpf: Save the pointer to struct perf_event to map Peter Zijlstra <peterz@infradead.org> - 2015-07-17 13:10 +0200
Re: [RFC PATCH 3/6] bpf: Save the pointer to struct perf_event to map "Wangnan (F)" <wangnan0@huawei.com> - 2015-07-17 13:30 +0200
Re: [RFC PATCH 3/6] bpf: Save the pointer to struct perf_event to map "Wangnan (F)" <wangnan0@huawei.com> - 2015-07-17 13:40 +0200
Re: [RFC PATCH 3/6] bpf: Save the pointer to struct perf_event to map Peter Zijlstra <peterz@infradead.org> - 2015-07-17 13:50 +0200
Re: [RFC PATCH 3/6] bpf: Save the pointer to struct perf_event to map "Wangnan (F)" <wangnan0@huawei.com> - 2015-07-17 14:00 +0200
Re: [RFC PATCH 3/6] bpf: Save the pointer to struct perf_event to map Peter Zijlstra <peterz@infradead.org> - 2015-07-17 14:10 +0200
Re: [RFC PATCH 3/6] bpf: Save the pointer to struct perf_event to map "Wangnan (F)" <wangnan0@huawei.com> - 2015-07-17 14:20 +0200
Re: [RFC PATCH 3/6] bpf: Save the pointer to struct perf_event to map Peter Zijlstra <peterz@infradead.org> - 2015-07-17 13:40 +0200
csiph-web