Go to file
David Lamparter 9c7753e41a lib: unstupidify thread debug information
the library's thread scheduling functions keep track of the thread
function's name, so far so good.  However, copying the compiler-provided
constant into a buffer inside the thread structure is plain useless.
Also, strip_funcname() was trying to support something that never
happens.

Instead, let's use some bytes here to track where threads are scheduled
from.  Another commit will print that information on crashes.

Ripping out useless stuff:  -64 bytes in the thread structure
Re-add as const ptr:         +8 bytes
Extra debug info:           +12 bytes

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 3493b7731b750cbc62f00be94b624a08ccccf0b2)
2016-05-29 20:08:52 -04:00
bgpd bgpd: don't use #ifdef inside macro args 2016-06-03 20:57:54 +00:00
cumulus/etc Fixup of Code to allow pimd to actually run on startup 2016-05-25 20:38:33 -04:00
debian debian: Add pimd to logrotate script 2016-05-26 19:41:58 -04:00
doc doc: older versions of texinfo seem to be sensitive to location of unmacro 2016-05-26 15:33:34 +00:00
fpm fpm: Add public header for Forwarding Plane Manager 2012-11-30 21:41:17 +01:00
gdb gdb: Add a directory of files with gdb macros 2016-05-26 15:33:30 +00:00
init build: delete .cvsignore files 2011-12-13 14:27:01 +04:00
isisd build: get rid of INCLUDES, use AM_CPPFLAGS 2016-06-03 15:46:59 -04:00
lib lib: unstupidify thread debug information 2016-05-29 20:08:52 -04:00
m4 build: fix "pragma weak" mixups 2013-02-09 03:00:12 +01:00
ospf6d build: get rid of INCLUDES, use AM_CPPFLAGS 2016-06-03 15:46:59 -04:00
ospfclient build: get rid of INCLUDES, use AM_CPPFLAGS 2016-06-03 15:46:59 -04:00
ospfd build: get rid of INCLUDES, use AM_CPPFLAGS 2016-06-03 15:46:59 -04:00
pimd build: get rid of INCLUDES, use AM_CPPFLAGS 2016-06-03 15:46:59 -04:00
pkgsrc build: delete .cvsignore files 2011-12-13 14:27:01 +04:00
ports pimd: merge pimd as of 2015-01-19 2016-05-25 20:38:32 -04:00
redhat distro/redhat: Update to support CentOS/RHEL/Fedora, upstart/init/systemd 2016-05-26 15:33:34 +00:00
ripd build: get rid of INCLUDES, use AM_CPPFLAGS 2016-06-03 15:46:59 -04:00
ripngd build: get rid of INCLUDES, use AM_CPPFLAGS 2016-06-03 15:46:59 -04:00
solaris solaris: fix SMF manifest dependency model and start method 2016-05-26 15:25:13 +00:00
tests tests: add testcli reference in/out & do DejaGNU 2016-06-03 20:35:40 +00:00
tools mrlg: Remove obsolete version. 2016-05-26 01:16:28 +00:00
vtysh build: get rid of INCLUDES, use AM_CPPFLAGS 2016-06-03 15:46:59 -04:00
watchquagga build: get rid of INCLUDES, use AM_CPPFLAGS 2016-06-03 15:46:59 -04:00
zebra build: get rid of INCLUDES, use AM_CPPFLAGS 2016-06-03 15:46:59 -04:00
.gitignore git: add (generated) cscope files to .gitignore 2015-09-22 11:54:09 -07:00
AUTHORS Initial revision 2002-12-13 20:15:29 +00:00
bootstrap.sh autoreconf -i 2007-02-06 19:28:28 +00:00
buildtest.sh build: remove --disable-ipv6 2016-06-03 15:51:36 -04:00
ChangeLog [trivia] Make 'make dist' happy about ChangeLog expunge 2008-08-23 08:36:42 +01:00
configure.ac build: enable isisd by default 2016-06-03 15:54:20 -04:00
COPYING *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
COPYING.LIB *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
HACKING.md HACKING: Change format to MarkDown 2016-05-26 15:33:32 +00:00
HACKING.pending HACKING.pending: Add Quagga-RE details 2012-03-02 11:56:38 +00:00
INSTALL.quagga.txt build: improve backtrace support/detection 2014-04-01 17:20:44 +02:00
Makefile.am build: fix 9562a77... (mrlg removal) 2016-05-26 01:16:29 +00:00
NEWS release: 0.99.24 2016-06-03 15:56:44 -04:00
README 2004-11-12 Paul Jakma <paul@dishone.st> 2004-11-12 10:30:21 +00:00
README.NetBSD Omit --opaque-lsa from build (now default). 2011-06-28 15:05:05 -04:00
REPORTING-BUGS Update for git and emphasize asking for good reports. 2010-05-05 07:51:26 -04:00
SERVICES pimd: merge pimd as of 2015-01-19 2016-05-25 20:38:32 -04:00
stamp-h.in Initial revision 2002-12-13 20:15:29 +00:00
TODO doc: update TODO for ospf6d work & bgp multipath 2013-04-16 11:56:11 +02:00
update-autotools * README.NetBSD: use update-autotools instead of autoreconf 2007-02-02 16:52:38 +00:00

Quagga is free software that manages various IPv4 and IPv6 routing
protocols.

Currently Quagga supports BGP4, BGP4+, OSPFv2, OSPFv3, RIPv1,
RIPv2, and RIPng as well as very early support for IS-IS.
  
See the file INSTALL.quagga.txt for building and installation instructions.
  
See the file REPORTING-BUGS to report bugs.
  
Quagga is free software. See the file COPYING for copying conditions.