summaryrefslogtreecommitdiffstats
path: root/gprof
Commit message (Collapse)AuthorAgeFilesLines
* * gprof.c (main): Correct copyright message.Ian Lance Taylor1997-03-272-3/+6
|
* * Makefile.in (.c.o): Define TARGET_$(MY_TARGET) when compiling.Ian Lance Taylor1997-03-243-8/+23
| | | | | * gmon.h: Use bytes counts rather than sizeof in struct raw_phdr and struct raw_arc.
* Mon Mar 17 10:54:47 1997 David Mosberger-Tang <davidm@azstarnet.com>Ian Lance Taylor1997-03-172-0/+6
| | | | | * cg_arcs.c (arc_add): memset() newly alloced arc to ensure all fields are initialized with 0.
* Sat Mar 15 19:17:31 1997 H.J. Lu <hjl@lucon.org>Ian Lance Taylor1997-03-164-2/+11
| | | | | | * symtab.h (find_call): Declare. * cg_arcs.c (cg_assemble): Don't declare find_call. * hist.c (scale_and_align_entries): Declare.
* * configure.in: Define BSD44_FORMAT if the target looks like aIan Lance Taylor1997-02-275-2/+29
| | | | | | | | BSD4.4 derived system. * configure: Rebuild. * Makefile.in (.c.o): Add @DEFS@. * gmon_io.c (gmon_out_read): In BSD44_FORMAT code, get profrate from profrate field, not version field.
* comment changeIan Lance Taylor1997-02-271-0/+2
|
* * dummy.c (find_call): Clear ignore_direct_calls.Ian Lance Taylor1997-01-162-0/+7
|
* * Makefile.in (.c.o): Add -D_GNU_SOURCE. Put $(CFLAGS) at theIan Lance Taylor1996-12-312-2/+8
| | | | | end. (gprof): Put $(CFLAGS) after the other options.
* * configure: Rebuild with autoconf 2.12.Ian Lance Taylor1996-11-262-37/+156
|
* * sparc.c (find_call): Align p_lowpc to avoid bus error.Ian Lance Taylor1996-10-022-1/+5
|
* * gprof.c (usage): Print bug report address.Ian Lance Taylor1996-10-012-1/+13
| | | | (main): Change version printing to match current GNU standards.
* * gmon.h: Replace #elif with #else/#endif.Ian Lance Taylor1996-08-302-1/+7
|
* Recognize i686-*-* for pentium proMichael Meissner1996-08-293-2/+7
|
* * configure.in: Set and substitute HLDENV.Ian Lance Taylor1996-08-234-3/+22
| | | | | | * configure: Rebuild. * Makefile.in (HLDENV): New variable. (gprof): Use $(HLDENV).
* Wed Aug 7 14:43:51 1996 Philippe De Muyter <phdm@info.ucl.ac.be>Ian Lance Taylor1996-08-072-1/+6
| | | | * core.c (read_function_mappings): Cast xmalloc return.
* * gprof.c (VERSION): Define as "2.7.1".Ian Lance Taylor1996-07-042-1/+3
|
* * bb_exit_func.c: Rename from __bb_exit_func.c, so that it can beIan Lance Taylor1996-07-041-1/+1
| | | | | stored on a System V file system. VS: ----------------------------------------------------------------------
* * bb_exit_func.c: Rename from __bb_exit_func.c, so that it can beIan Lance Taylor1996-07-042-0/+3
| | | | stored on a System V file system.
* xIan Lance Taylor1996-07-041-0/+4
|
* * configure.in: Call AC_ISC_POSIX.Ian Lance Taylor1996-06-275-4/+42
| | | | | | | * configure: Rebuild. * Makefile.in (gprof): Pass $(CFLAGS) during link. * hertz.c: Don't include <sys/time.h>; let sysdep.h handle that. If HAVE_SETITIMER is not defined, try using sysconf.
* * Makefile.in (exec_prefix, bindir, libdir, mandir, infodir, datadir,Jason Molenda1996-06-254-10/+86
| | | | | | | INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. * configure.in (AC_PREREQ): autoconf 2.5 or higher. (AC_PROG_INSTALL): added. * configure: Rebuilt.
* * configure.in: On alpha*-*-osf*, link against libbfd.a if notIan Lance Taylor1996-06-243-14/+44
| | | | | using shared libraries. * configure: Rebuild with autoconf 2.10.
* * core.c (core_create_line_syms): Use xstrdup rather than strdup.Ian Lance Taylor1996-06-183-2/+7
| | | | * source.c (source_file_lookup_path): Likewise.
* * configure.in: Permit --enable-shared to specify a list ofIan Lance Taylor1996-04-083-3/+11
| | | | | directories. * configure: Rebuild.
* * core.c (core_create_function_syms): Move filename and func_nameIan Lance Taylor1996-03-217-28/+48
| | | | | | | | | | | | | | inside ifdef where they are used. * core.c (core_sym_class): Parenthesize && within ||. * symtab.c (symtab_finalize): Correct parenthesization. * cg_print.h (cg_print_file_ordering): Declare. (cg_print_function_ordering): Declare. * __bb_exit_func.c (__bb_exit_func): Replace bcopy with memcpy. * cg_arcs.c (arc_add): Likewise. * cg_print.c (cg_print_function_ordering): Likewise.
* Thu Mar 21 17:02:02 1996 David Mosberger-Tang <davidm@azstarnet.com>Ian Lance Taylor1996-03-216-12/+65
| | | | | | | | | | | | | | | | | | * gprof.c (default_excluded_list): Add "__mcount". * gprof.c (main): Change ifdef __osf__ to __alpha__. * gmon_io.c (gmon_out_read): If BSD44_FORMAT is defined, get the profiling rate from the header. * gmon.h (struct raw_phdr): Only include pad if both __alpha__ and __osf__ are defined. Add new fields if BSD44_FORMAT is defined. * alpha.h (MIN_INSN_SIZE): Define. * core.c (MIN_INSN_SIZE): If not defined, define as 1. (core_sym_class): Ignore debugging symbols. (core_create_line_syms): Use MIN_INSN_SIZE when gathering line information.
* Wed Mar 20 18:15:47 1996 Andreas Schwab ↵Ian Lance Taylor1996-03-202-2/+8
| | | | | | | | <schwab@issan.informatik.uni-dortmund.de> * cg_print.c (cg_print_function_ordering): Fix __GNUC__ misspelled as __GNU_C__. (order_and_dump_functions_by_arcs): Likewise.
* * configure: Rebuild with autoconf 2.8.Ian Lance Taylor1996-03-122-12/+61
|
* * configure.in: Check for 'do not mix' from native linker beforeIan Lance Taylor1996-02-183-0/+10
| | | | | trying to use -rpath. * configure: Rebuild.
* * configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared.Ian Lance Taylor1996-02-133-0/+11
| | | | * configure: Rebuild.
* * configure.in: Don't set CC. Look for --enable-shared. SetIan Lance Taylor1996-02-074-24/+297
| | | | | | | | BFDLIB and HLDFLAGS and substitute them. * configure: Rebuild. * Makefile.in (LIBS): Use @BFDLIB@. (HLDFLAGS): New variable. (gprof): Use $(HLDFLAGS).
* Support for building bfd and opcodes as shared libraries, based onIan Lance Taylor1996-02-052-2/+11
| | | | | | | patches from Alan Modra <alan@spri.levels.unisa.edu.au>: * Makefile.in (LIBDEPS): New variable. (LIBS): Use -L../bfd -lbfd. (gprof): Depend upon $(LIBDEPS) rather than $(LIBS).
* Remove temporary file when finished.Jeff Law1996-01-171-0/+1
|
* * gprof.c (long_options): Add "--function-ordering" andJeff Law1995-12-319-5/+908
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "--file-ordering" options. (usage): Add new options to usage message. (main): Handle new options. * gprof.h (STYLE_FUNCTION_ORDER): Define. (STYLE_FILE_ORDER): Define. (function_mapping_file): Declare. * cg_arcs.c (arcs, numarcs): New globals. (arc_add): Put new arcs into the arc array so the function/file ordering code can examine them. * cg_arcs.h (struct arc): New field "has_been_placed". (arcs, numarcs): Declare new globals. * core.c (symbol_map, symbol_map_count): New globals. (read_function_mappings): New function to read in a function to object map file. (core_init): Call read_function_mappings if a function mapping file exists. (core_create_function_syms): Handle function to object file mappings. * symtab.h (struct sym): New fields "mapped", "has_been_placed", "nuses", "prev". * cg_print.c (cmp_arc_count): New function for sorting arcs. (cmp_fun_nuses): Likewise for functions. (cg_print_function_ordering): New function to print a suggested function ordering. (cg_print_file_ordering): Likewise for ordering .o files. (order_and_dump_functions_by_arcs): Helper function for function and object file ordering code. Gprof changes for mentor vm work.
* Just so we have them checked in somewhere; they're sanitized away as weJeff Law1995-12-313-0/+20
| | | | | really don't want to distribute them as part of gprof (not without major work).
* * core.c (core_sym_class): Ignore symbols without BSF_FUNCTIONJeff Law1995-12-255-3/+32
| | | | | | | | | | | set if ignore_non_function is set. * gprof.h (ignore_non_functions): Declare. * gprof.c (ignore_non_functions): Define. (long_options): Add "ignore-non-functions". (usage): Add new options. (main): Recognize "-D" and "--ignore-non-functions" option. So we can get more accurate information on Solaris, HPUX and other systems that can uniquely identify function symbols.
* fix typo in last changeKen Raeburn1995-11-211-2/+3
|
* * Makefile.in (.m.c): Strip out directory name from function name.Ken Raeburn1995-11-212-1/+4
|
* * hist.c (scale_and_align_entries): Don't use DEFUN_VOID. Do UNITS_TO_CODEKen Raeburn1995-11-212-7/+7
| | | | | adjustment unconditionally; compiler can optimize away zero-offset case. Refer to scaled_addr, not aligned_addr.
* vax.c doesn't need to include vax.h; gprof.h does itKen Raeburn1995-11-212-1/+4
|
* version 2.6Ken Raeburn1995-11-161-0/+4
|
* * gprof.c (main): Cast getenv return value.Ian Lance Taylor1995-11-082-1/+5
|
* add tags targetKen Raeburn1995-11-062-0/+8
|
* * Makefile.in (DISTSTUFF): Rename to GEN_FILES, to avoid confusion.Per Bothner1995-11-012-4/+10
| | | | | (all): Depend on $(GEN_FILES), not diststuff (which also depends on info).
* Wed Nov 1 15:23:15 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 ↵Ian Lance Taylor1995-11-012-0/+6
| | | | | | <manfred@lts.sel.alcatel.de> * sym_ids.c: Include <ctype.h>.
* * Makefile.in (diststuff): Also make info.Per Bothner1995-10-252-3/+9
| | | | | (mostlyclean): Don't remove gprof.info*. (maintainer-clean realclean): Also remove *.info*.
* Mon Sep 25 22:49:32 1995 Andreas Schwab ↵Ken Raeburn1995-10-064-7/+39
| | | | | | | | | | <schwab@issan.informatik.uni-dortmund.de> * Makefile.in: Add dependecies for $(OBJS) on header files. * cg_print.c (print_cycle, print_members, cg_print_index): Fix new style output format to make it consistent. * dummy.c (find_call): Fix typo in error message.
* * Makefile.in (maintainer-clean): New target, synonym forIan Lance Taylor1995-09-202-1/+6
| | | | realclean.
* * Makefile.in (install): Don't install in $(tooldir).Ian Lance Taylor1995-09-082-5/+4
|
* some ns32k updates from Ian DallKen Raeburn1995-09-055-12/+20
|
OpenPOWER on IntegriCloud