Messages in this thread | | | Date | Tue, 01 Oct 2013 22:11:56 +0300 | From | Adrian Hunter <> | Subject | PERF_EVENT_IOC_SET_OUTPUT |
| |
Hi
It does not seem possible to use set-output between task contexts of different types (e.g. a software event to a hardware event)
If you look at perf_event_set_output():
/* * If its not a per-cpu rb, it must be the same task. */ if (output_event->cpu == -1 && output_event->ctx != event->ctx) goto out;
ctx (perf_event_context) won't be the same for events of different types. Is this restriction necessary?
Regards Adrian
| |