History log of /external/elfutils/tests/backtrace-data.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
65251494ae6eae66bfdf9134189fd11b1ee8e9b5 26-Jun-2015 Pino Toscano <toscano.pino@tiscali.it> Reduce scope of some includes

Use some includes only according to the #ifdef block of the respective
code, or matching the fact they are Linux-only. This way, includes
potentially unportable are not unconditionally used.

Signed-off-by: Pino Toscano <toscano.pino@tiscali.it>
/external/elfutils/tests/backtrace-data.c
c801acf1cb6ee95044d11ad8ed8ebf879db0444c 04-May-2015 Max Filippov <jcmvbkbc@gmail.com> Replace assert_perror with assert

assert_perror is a GNU extension, it's not provided by uClibc and it's
only used in tests. Replace it with assert.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
/external/elfutils/tests/backtrace-data.c
02cefdaa6429e620d6457fdb3ad9934f194c5a93 22-Apr-2014 Kurt Roeckx <kurt@roeckx.be> Unwinding is only supported on Linux

Signed-off-by: Kurt Roeckx <kurt@roeckx.be>
/external/elfutils/tests/backtrace-data.c
70c3a53baa06b6cdee6e92bd673c1cf977066bc1 04-Jan-2014 Mark Wielaard <mjw@redhat.com> tests: Don't use ptrace detach stopped trick. Raise can return.

On older kernels the ptrace detach stop trick doesn't work reliably.
Just keep the child processes attached and stopped during the tests,
dwfl_linux_proc_attach will handle that fine now. Also on older kernels
raise would sometimes return anyway and cause a spurious assert. Just
ignore it.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/backtrace-data.c
e962ec3bcbe8eccdcded36aaafee7bec41fa1bc4 20-Dec-2013 Mark Wielaard <mjw@redhat.com> libdwfl: Add dwfl_getthread_frames.

dwfl_getthread_frames is a convenience function for when the user is only
interested in one specific thread id of a process. It can be implemented by
a simple wrapper function that removes an extra callback layer just to
filter on thread id. But it also provides an optimized path to getting
access to just one particular Dwfl_Thread of the Dwfl process by providing
and (optional) new callback for the state provider. The pid_thread_callbacks
now provide an (optional) pid_getthread that doesn't need to travers all
threads anymore. Which is implemented for the linux-pid-attach provider.

stack now uses this to implement a new '-1' option that shows just one
specific thread of a process.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/backtrace-data.c
813aae0e94c2e694e1cad25d4e268dfe60397196 05-Dec-2013 Mark Wielaard <mjw@redhat.com> tests: SKIP backtrace-data and backtrace-dwarf on unsupported arches.

run-backtrace-data.sh did check stderr whether the arch was unsupported
but the test didn't print that message yet. backtrace-dwarf did print
the message but was missing a check_unsupported test. Also add an explicit
check_main test for backtrace-dwarf.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/backtrace-data.c
8ae9bc9d315be6ecbb97dd9754b9d8424b5a70f0 02-Dec-2013 Jan Kratochvil <jan.kratochvil@redhat.com> Tests for unwinder of x86*.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/elfutils/tests/backtrace-data.c