|
@@ -6098,6 +6098,11 @@ inherit_event(struct perf_event *parent_event,
|
|
child_event->ctx = child_ctx;
|
|
child_event->ctx = child_ctx;
|
|
child_event->overflow_handler = parent_event->overflow_handler;
|
|
child_event->overflow_handler = parent_event->overflow_handler;
|
|
|
|
|
|
|
|
+ /*
|
|
|
|
+ * Precalculate sample_data sizes
|
|
|
|
+ */
|
|
|
|
+ perf_event__header_size(child_event);
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* Link it up in the child's context:
|
|
* Link it up in the child's context:
|
|
*/
|
|
*/
|