xserver-multidpi/include
Marcin Slusarz e21e183059 os: use libunwind to generate backtraces
Libunwind generates backtraces much more reliably than glibc's "backtrace".

Before:
0: /opt/xserver/bin/X (0x400000+0x18ce36) [0x58ce36]
1: /opt/xserver/bin/X (xorg_backtrace+0x9) [0x58d119]
2: /opt/xserver/bin/X (0x400000+0x190d69) [0x590d69]
3: /lib64/libpthread.so.0 (0x7fb904268000+0x10a90) [0x7fb904278a90]
4: /lib64/libc.so.6 (ioctl+0x7) [0x7fb902fbf987]
5: /usr/lib64/libdrm.so.2 (drmIoctl+0x28) [0x7fb90405ffa8]
6: /usr/lib64/libdrm.so.2 (drmCommandWrite+0x1b) [0x7fb90406235b]
7: /usr/lib64/libdrm_nouveau.so.2 (nouveau_bo_wait+0x89) [0x7fb902009719]
8: /opt/xserver/lib/xorg/modules/drivers/nouveau_drv.so (0x7fb90220e000+0x76f3) [0x7fb9022156f3]
9: /opt/xserver/lib/xorg/modules/libexa.so (0x7fb9019c7000+0xbae0) [0x7fb9019d2ae0]
10: /opt/xserver/bin/X (0x400000+0x17d2b3) [0x57d2b3]
11: /opt/xserver/bin/X (0x400000+0xc9930) [0x4c9930]
12: /opt/xserver/bin/X (0x400000+0x3a81a) [0x43a81a]
13: /opt/xserver/bin/X (0x400000+0x3d6a1) [0x43d6a1]
14: /opt/xserver/bin/X (0x400000+0x2c2ca) [0x42c2ca]
15: /lib64/libc.so.6 (__libc_start_main+0xf5) [0x7fb902f019b5]
16: /opt/xserver/bin/X (0x400000+0x2c60d) [0x42c60d]
17: ?? [0x0]

After:
0: /opt/xserver/bin/X (OsSigHandler+0x39) [0x590d69]
1: /lib64/libpthread.so.0 (__restore_rt+0x0) [0x7fb904278a8f]
2: /lib64/libc.so.6 (ioctl+0x7) [0x7fb902fbf987]
3: /usr/lib64/libdrm.so.2 (drmIoctl+0x28) [0x7fb90405ffa8]
4: /usr/lib64/libdrm.so.2 (drmCommandWrite+0x1b) [0x7fb90406235b]
5: /usr/lib64/libdrm_nouveau.so.2 (nouveau_bo_wait+0x89) [0x7fb902009719]
6: /opt/xserver/lib/xorg/modules/drivers/nouveau_drv.so (nouveau_exa_download_from_screen+0x1a3) [0x7fb9022156f3]
7: /opt/xserver/lib/xorg/modules/libexa.so (exaGetImage+0x1f0) [0x7fb9019d2ae0]
8: /opt/xserver/bin/X (miSpriteGetImage+0x173) [0x57d2b3]
9: /opt/xserver/bin/X (compGetImage+0xb0) [0x4c9930]
10: /opt/xserver/bin/X (ProcGetImage+0x55a) [0x43a81a]
11: /opt/xserver/bin/X (Dispatch+0x341) [0x43d6a1]
12: /opt/xserver/bin/X (main+0x3ba) [0x42c2ca]
13: /lib64/libc.so.6 (__libc_start_main+0xf5) [0x7fb902f019b5]
14: /opt/xserver/bin/X (_start+0x29) [0x42c60d]
15: ? (?+0x29) [0x29]

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Knut Petersen <knut.petersen@t-online.de>
2013-02-26 07:59:53 +10:00
..
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
callback.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
client.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
closestr.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
closure.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
colormap.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
colormapst.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
cursor.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
cursorstr.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dix-config-apple-verbatim.h Move the apple fat binary hacks back to a header file, and make it apple-only. 2009-01-30 16:36:45 -08:00
dix-config.h.in os: use libunwind to generate backtraces 2013-02-26 07:59:53 +10:00
dix.h dix: fix shadow warnings 2012-11-05 13:25:00 -06:00
dixaccess.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dixevents.h dix: Remove redundant declarations. 2012-05-14 13:31:00 +01:00
dixfont.h dix: fix redundant redeclaration warnings in dixfont 2012-11-05 13:24:59 -06:00
dixfontstr.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dixfontstubs.h dix: fix redundant redeclaration warnings in dixfont 2012-11-05 13:24:59 -06:00
dixgrabs.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dixstruct.h dix: Make small bitfields that store enums unsigned 2013-01-08 16:45:22 -08:00
eventconvert.h input: drop FP1616 macro 2012-11-19 12:12:23 +10:00
events.h Add support for XI2.3: Pointer barrier events and releases. 2012-12-17 15:01:45 +10:00
eventstr.h Add support for XI2.3: Pointer barrier events and releases. 2012-12-17 15:01:45 +10:00
exevents.h dix: Move DeviceFocusEvent from Xi into enterleave.c 2012-05-17 08:50:44 +10:00
extension.h Constify argument to LoadExtension 2012-11-21 11:13:55 +11:00
extinit.h DMX: Add DMX and GLX extensions 2012-11-21 11:13:55 +11:00
extnsionst.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
gc.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
gcstruct.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
globals.h Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
glx_extinit.h glx: drop GLX_LIBS from X server and workaround sdksyms. 2012-07-25 23:30:53 -07:00
hotplug.h config/udev: add wrapper around check if server is not seat 0 2012-09-04 16:15:52 +10:00
input.h Short-cut the input device cleanup process during AbortServer() 2013-02-08 09:06:14 -08:00
inputstr.h dix: support the transformation matrix for relative devices. 2013-02-08 09:02:57 -08:00
inpututils.h dix: split xi2_mask_isset into a per-device function 2012-12-12 17:25:16 +10:00
kdrive-config.h.in kdrive: Add option to compile out input drivers 2010-01-06 19:47:53 +06:00
list.h include: fix typo in list description 2013-02-08 13:47:24 +10:00
Makefile.am dix: fix redundant redeclaration warnings in dixfont 2012-11-05 13:24:59 -06:00
misc.h os: add support for %f to pnprintf 2013-01-17 17:17:41 +10:00
miscstruct.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
opaque.h os: Add -displayfd option 2012-05-01 11:36:30 +10:00
optionstr.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
os.h Use X_ATTRIBUTE_PRINTF where suggested for os.h 2012-10-16 22:29:54 +01:00
pixmap.h dix/pixmap: track dirty pixmaps in server. (v4) 2012-07-07 10:37:11 +01:00
pixmapstr.h dix/pixmap: track dirty pixmaps in server. (v4) 2012-07-07 10:37:11 +01:00
privates.h privates: Allow device privates to be allocated after server start 2012-07-05 13:40:27 -07:00
property.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
propertyst.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
protocol-versions.h randr: bump advertised RandR version to 1.4 2013-02-08 09:09:54 -08:00
ptrveloc.h dix: indentation fixes for pointer acceleration 2012-05-16 10:59:35 +10:00
region.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
regionstr.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
registry.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
resource.h xserver: Remove duplicate declaration in resource.h 2012-05-14 13:17:08 +01:00
rgb.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
screenint.h dix: don't use "new" as a parameter name 2012-07-25 09:27:11 -07:00
scrnintstr.h dix/randr: add a hook into screen to replace scanout pixmap 2012-07-07 10:39:09 +01:00
selection.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
servermd.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
site.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
swaprep.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
swapreq.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
validate.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
version-config.h.in Move VENDOR_* defines from AC_SUBST to a header to avoid angering shave. 2009-04-14 10:35:44 -04:00
window.h dix: Remove MapUnmapEventsEnabled and friends 2012-09-23 10:41:54 -07:00
windowstr.h dix: Fix types in WindowOptRec 2012-09-20 14:40:18 -04:00
XIstubs.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xkb-config.h.in Move to autoconf standard function name checks & defines 2011-12-05 14:32:45 -08:00
xkbfile.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xkbrules.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xkbsrv.h xkb: fill in keycode and event type for slow keys enablement 2012-11-29 14:48:54 +10:00
xkbstr.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xorg-config.h.in xfree86: use udev to provide device enumeration for kms devices (v10) 2012-07-06 10:20:19 +01:00
xorg-server.h.in Remove last renmants of XFree86LOADER define 2012-07-10 00:31:02 -07:00
Xprintf.h os/xprintf: add Xvscnprintf and Xscnprintf 2012-05-03 14:59:23 +10:00
xserver-properties.h Add missing labels for multitouch valuators 2012-10-30 15:11:10 +10:00
xsha1.h Move SHA1 computation from render/glyph.c to os/ 2009-10-15 01:17:44 +02:00
xwin-config.h.in include: Add RELOCATE_PROJECTROOT to xwin-config.h header 2013-01-16 16:48:34 +00:00