from small one page howto to huge articles all in one place
 

search text in:





Poll
Which kernel version do you use?





poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

90762

userrating:

average rating: 1.7 (82 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

206650

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

88213

userrating:

average rating: 1.3 (28 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





GETUNWIND

Section: Linux Programmer's Manual (2)
Updated: 2014-09-21
Index Return to Main Contents
 

NAME

getunwind - copy the unwind data to caller's buffer  

SYNOPSIS

#include <syscall.h>
#include <linux/unwind.h>

long getunwind(void *buf, size_t buf_size);

Note: There is no glibc wrapper for this system call; see NOTES.  

DESCRIPTION

Note: this function is obsolete.

The IA-64-specific getunwind() system call copies the kernel's call frame unwind data into the buffer pointed to by buf and returns the size of the unwind data; this data describes the gate page (kernel code that is mapped into user space).

The size of the buffer buf is specified in buf_size. The data is copied only if buf_size is greater than or equal to the size of the unwind data and buf is not NULL; otherwise, no data is copied, and the call succeeds, returning the size that would be needed to store the unwind data.

The first part of the unwind data contains an unwind table. The rest contains the associated unwind information, in no particular order. The unwind table contains entries of the following form:

    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)

An entry whose start value is zero indicates the end of the table. For more information about the format, see the IA-64 Software Conventions and Runtime Architecture manual.  

RETURN VALUE

On success, getunwind() returns the size of the unwind data. 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)).

Glibc does not provide a wrapper for this system call; in the unlikely event that you want to call it, use syscall(2).  

SEE ALSO

getauxval(3)  

COLOPHON

This page is part of release 3.81 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at http://www.kernel.org/doc/man-pages/.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
VERSIONS
CONFORMING TO
NOTES
SEE ALSO
COLOPHON


Please read "Why adblockers are bad".



Other free services
toURL.org
Shorten long
URLs to short
links like
http://tourl.org/2
tourl.org
.
Reverse DNS lookup
Find out which hostname(s)
resolve to a
given IP or other hostnames for the server
www.reversednslookup.org
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2013 Sascha Nitsch Unternehmensberatung UG(haftungsbeschränkt)
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 3.6 ms