|
@@ -658,6 +658,14 @@ void perf_evsel__config(struct perf_evsel *evsel, struct record_opts *opts)
|
|
|
attr->mmap_data = track;
|
|
|
}
|
|
|
|
|
|
+ /*
|
|
|
+ * We don't allow user space callchains for function trace
|
|
|
+ * event, due to issues with page faults while tracing page
|
|
|
+ * fault handler and its overall trickiness nature.
|
|
|
+ */
|
|
|
+ if (perf_evsel__is_function_event(evsel))
|
|
|
+ evsel->attr.exclude_callchain_user = 1;
|
|
|
+
|
|
|
if (callchain_param.enabled && !evsel->no_aux_samples)
|
|
|
perf_evsel__config_callgraph(evsel);
|
|
|
|