GETUNWIND(2) | Linux Programmer's Manual | GETUNWIND(2) |
NAME
getunwind - copy the unwind data to caller's bufferSYNOPSIS
#include<syscall.h> #include
<linux/unwind.h>
long getunwind(void *buf , size_t buf_size );
DESCRIPTION
Note: this function is obsolete.u64 start; (64-bit address of start of function)
u64 end; (64-bit address of end of function)
u64 info; (BUF-relative offset to unwind info)
RETURN VALUE
On success, getunwind() returns the size of unwind table. On error, -1 is returned and errno is set to indicate the error.ERRORS
getunwind() fails with the error EFAULT if the unwind info can't be stored in the space specified by buf.VERSIONS
This system call is available since Linux 2.4.CONFORMING TO
This system call is Linux specific, and is available only on the IA-64 architecture.NOTES
This system call has been deprecated. The modern way to obtain the kernel's unwind data is via the gate DSO. The address of the ELF header for this DSO is passed to user level via AT_SYSINFO_EHDR (see getauxval(3)).SEE ALSO
getauxval(3)COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/.2013-02-13 | Linux |