summaryrefslogtreecommitdiffstats
path: root/lib/libc/gmon
Commit message (Collapse)AuthorAgeFilesLines
* Remove .mcount from gmon's Symbol map and add it to the appropriatedeischen2007-05-131-1/+0
| | | | | | | arch. It can be named differently depending on the arch (.mcount, _mcount). Submitted by: marius
* Use C comments since we now preprocess these files with CPP.deischen2007-04-291-4/+6
|
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-093-12/+0
| | | | | | clause. # If I've done so improperly on a file, please let me know.
* Backed out rev.1.10 (a special case for amd64). The amd64 mcount codebde2006-10-281-6/+0
| | | | never needed any frame pointers for itself.
* Add each directory's symbol map file to SYM_MAPS.deischen2006-03-131-0/+2
|
* Add symbol maps and initial symbol version definitions to libc.deischen2006-03-131-0/+13
| | | | Reviewed by: davidxu
* The minbrk symbol is hidden the same on powerpc as other FreeBSD platforms.grehan2005-12-291-1/+1
|
* Make SYNOPSIS compile.ru2005-11-231-3/+3
|
* Fix race by using atomic operation, with this change, both libpthreaddavidxu2005-05-061-3/+5
| | | | and libthr now can run profiling on SMP.
* Enable building with LIBC_SCCS defined.obrien2004-10-162-2/+2
| | | | Bug submitted by: Andrea Campi <andrea+freebsd_current@webcom.it>
* Fix format strings to unbreak with -DDEBUG option.kuriyama2004-09-101-2/+2
|
* Document the location of the header file which declares the functionbms2004-06-141-1/+2
| | | | | | prototypes documented in this manual page. PR: bin/4459
* For amd64, explicitly compile mcount.po, rather than copying mcount.o. Wepeter2004-05-181-0/+6
| | | | | need to compile it with -fno-omit-frame-pointers since the mcount code depends on that, and by default it omits them without -pg.
* Use ANSI C function definition for `_mcount' and remove `static'nectar2004-01-061-2/+2
| | | | | | prototype from header file. Discussed with: bde, maybe one year ago
* Use C99 compatible ASM statements.obrien2003-06-021-2/+2
|
* Add __amd64__ to the list of things that use HIDENAME() to hide minbrkpeter2003-04-301-1/+1
|
* mdoc(7) police: "The .Fa argument.".ru2002-12-191-0/+2
|
* mdoc(7) police: Fixed abuses of the .Ar and .Em macros.ru2002-12-181-1/+1
|
* mdoc(7) police: "The .Fn function".ru2002-12-181-0/+2
|
* libc_r wasn't so tied to libc for 22 months.ru2002-11-181-3/+1
|
* Initiate deorbit burn for the i386-only a.out related support. Moves arepeter2002-09-171-1/+1
| | | | | | | | | | | | | | | under way to move the remnants of the a.out toolchain to ports. As the comment in src/Makefile said, this stuff is deprecated and one should not expect this to remain beyond 4.0-REL. It has already lasted WAY beyond that. Notable exceptions: gcc - I have not touched the a.out generation stuff there. ldd/ldconfig - still have some code to interface with a.out rtld. old as/ld/etc - I have not removed these yet, pending their move to ports. some includes - necessary for ldd/ldconfig for now. Tested on: i386 (extensively), alpha
* Check for defined(__i386__) instead of just defined(i386) since the compileralfred2002-05-301-1/+1
| | | | will be updated to only define(__i386__) for ANSI cleanliness.
* Do not use __progname directly (except in [gs]etprogname(3)).markm2002-03-291-6/+5
| | | | | | Also, make an internal _getprogname() that is used only inside libc. For libc, getprogname(3) is a weak symbol in case a function of the same name is defined in userland.
* Don't leave stack garbage in the reserved fields of the header.bde2002-02-151-0/+1
|
* Fixed style bugs in rev.1.5:bde2002-02-151-4/+5
| | | | | | | | | | - missing whitespace - strange version of warn() built out of warnx() + strerror(). Just use warn(). - conversion of just one of the two perror()'s to warn*() Actually use _warn() instead of _warn(), to keep up with namespace- unpollution for warn().
* * Remove __P and convert to ANSI prototypes.obrien2002-02-012-19/+17
| | | | | * Remove 'register'. (some functions had 7+ register functions...) * Fix SCM ID's.
* We use HIDENAME(minbrk) on sparc64 too.jake2001-12-291-1/+1
|
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-011-1/+1
|
* Remove whitespace at EOL.dd2001-07-151-2/+2
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* MAN[1-9] -> MAN.ru2001-03-271-1/+1
|
* Remove _THREAD_SAFE and make libc thread-safe by default bydeischen2001-01-241-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adding (weak definitions to) stubs for some of the pthread functions. If the threads library is linked in, the real pthread functions will pulled in. Use the following convention for system calls wrapped by the threads library: __sys_foo - actual system call _foo - weak definition to __sys_foo foo - weak definition to __sys_foo Change all libc uses of system calls wrapped by the threads library from foo to _foo. In order to define the prototypes for _foo(), we introduce namespace.h and un-namespace.h (suggested by bde). All files that need to reference these system calls, should include namespace.h before any standard includes, then include un-namespace.h after the standard includes and before any local includes. <db.h> is an exception and shouldn't be included in between namespace.h and un-namespace.h namespace.h will define foo to _foo, and un-namespace.h will undefine foo. Try to eliminate some of the recursive calls to MT-safe functions in libc/stdio in preparation for adding a mutex to FILE. We have recursive mutexes, but would like to avoid using them if possible. Remove uneeded includes of <errno.h> from a few files. Add $FreeBSD$ to a few files in order to pass commitprep. Approved by: -arch
* Prepare for mdoc(7)NG.ru2000-12-291-2/+3
|
* Introduce ".Lb" macro to libc manpages.phantom2000-04-211-0/+2
| | | | More libraries manpages updates following.
* Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(),jasone2000-01-271-9/+9
| | | | | | | | | | | | | | | | | just use _foo() <-- foo(). In the case of a libpthread that doesn't do call conversion (such as linuxthreads and our upcoming libpthread), this is adequate. In the case of libc_r, we still need three names, which are now _thread_sys_foo() <-- _foo() <-- foo(). Convert all internal libc usage of: aio_suspend(), close(), fsync(), msync(), nanosleep(), open(), fcntl(), read(), and write() to _foo() instead of foo(). Remove all internal libc usage of: creat(), pause(), sleep(), system(), tcdrain(), wait(), and waitpid(). Make thread cancellation fully POSIX-compliant. Suggested by: deischen
* Add three-tier symbol naming in support of POSIX thread cancellationjasone2000-01-121-9/+11
| | | | | | points. For library functions, the pattern is __sleep() <-- _libc_sleep() <-- sleep(). The arrows represent weak aliases. For system calls, the pattern is _read() <-- _libc_read() <-- read().
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-291-10/+10
| | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Enable gmon/mcount on alpha.simokawa1999-07-162-13/+3
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Change a test for NETBSD_SYSCALLS to __alpha__. We're not ready tojb1998-09-051-2/+2
| | | | do profiling on alpha yet.
* Change the profile data file name from gmon.out to progname.gmonjb1998-09-052-7/+14
| | | | where progname comes from __progname in crt0 or crt1.
* Changed to the C9x draft spelling of the (unsigned) integral typebde1998-07-141-12/+12
| | | | | | | | suitable for holding object pointers (ptrint_t -> uintptr_t). Added corresponding signed type (intptr_t). Changed/added corresponding non-C9x types for function pointers to match. Don't use nonstandard types to implement these types, and don't comment on them in <machine/types.h>.
* Oops, fptrint_t still needs to be declared in <machine/profile.h> in thebde1998-07-101-9/+1
| | | | | !KERNEL case. The kludge to get it declared in libc/gmon/mcount.c wasn't sufficient because fptrint_t is used in <sys/gmon.h>.
* Added a kernel-only typedef (ptrint_t) giving an integral type that isbde1998-07-101-2/+11
| | | | | | | | | | least unsuitable for holding an object pointer. This should have been used to fix warnings about casts between pointers and ints on alphas. Moved corresponding existing general typedef (fptrint_t) for function pointers from the i386 <machine/profile.h> to a kernel-only typedef in <machine/types.h>. Kludged libc/gmon/mcount.c so that it can still see this typedef.
* These files are very specific to FreeBSD kernels, so silently compilejb1998-03-092-1/+6
| | | | no code when building a library with __NETBSD_SYSCALLS defined.
* Format the MLINKS statement the same as in most other libc Makefile.inc's.bde1997-12-191-2/+3
|
* Removed the subdirectory paths from the definitions of MAN[1-9]. Theybde1997-10-151-3/+2
| | | | | were a workaround for limitations in bsd.man.mk that were fixed about 2 years ago.
* Changed all paths to be relative to src/lib instead of src/lib/libcjb1997-05-031-2/+7
| | | | | | | | | | so that all these makefiles can be used to build libc_r too. Added .if ${LIB} == "c" tests to restrict man page builds to libc to avoid needlessly building them with libc_r too. Split libc Makefile into Makefile and Makefile.inc to allow the libc_r Makefile to include Makefile.inc too.
* Fixed #include and/or prototype bugs in synopsis.bde1997-04-131-0/+3
|
OpenPOWER on IntegriCloud