perf tools: Add dedicated unwind addr_space member into thread struct
authorJiri Olsa <jolsa@kernel.org>
Thu, 7 Apr 2016 07:11:12 +0000 (09:11 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 8 Apr 2016 12:58:02 +0000 (09:58 -0300)
commite583d70c54976f81855c7ca763b036bad399f4e0
treec7bdea4441984b3a710f8921e60acef837910fec
parent7d6a7e782558323364bc0ae59f3523175c10b258
perf tools: Add dedicated unwind addr_space member into thread struct

Milian reported issue with thread::priv, which was double booked by perf
trace and DWARF unwind code. So using those together is impossible at
the moment.

Moving DWARF unwind private data into separate variable so perf trace
can keep using thread::priv.

Reported-and-Tested-by: Milian Wolff <milian.wolff@kdab.com>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andreas Hollmann <hollmann@in.tum.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1460013073-18444-2-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/thread.h
tools/perf/util/unwind-libunwind.c