diff options
author | Jiri Olsa <[email protected]> | 2016-07-04 14:16:23 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-07-04 20:27:25 -0300 |
commit | 6c502584438bda63fc1a67606854fb0b300465cd (patch) | |
tree | 670c04d2c278b314f4698922f6778aa73c6e963d /net/unix/af_unix.c | |
parent | a2873325ffb21cecca8032673eb698cb4d778dc6 (diff) |
perf unwind: Call unwind__prepare_access for forked thread
Currently we call unwind__prepare_access for map event. In case we
report fork event the thread inherits its parent's maps and
unwind__prepare_access is never called for the thread.
This causes unwind__get_entries seeing uninitialized
unwind_libunwind_ops and thus returning no callchain.
Adding unwind__prepare_access calls for fork even processing.
Signed-off-by: Jiri Olsa <[email protected]>
Cc: David Ahern <[email protected]>
Cc: He Kuang <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions