aboutsummaryrefslogtreecommitdiff
path: root/gprof
AgeCommit message (Collapse)AuthorFilesLines
1996-01-17Remove temporary file when finished.Jeff Law1-0/+1
1995-12-31 * gprof.c (long_options): Add "--function-ordering" andJeff Law9-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.
1995-12-31Just so we have them checked in somewhere; they're sanitized away as weJeff Law3-0/+20
really don't want to distribute them as part of gprof (not without major work).
1995-12-25 * core.c (core_sym_class): Ignore symbols without BSF_FUNCTIONJeff Law5-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.
1995-11-21fix typo in last changeKen Raeburn1-2/+3
1995-11-21* Makefile.in (.m.c): Strip out directory name from function name.Ken Raeburn2-1/+4
1995-11-21* hist.c (scale_and_align_entries): Don't use DEFUN_VOID. Do UNITS_TO_CODEKen Raeburn2-7/+7
adjustment unconditionally; compiler can optimize away zero-offset case. Refer to scaled_addr, not aligned_addr.
1995-11-21vax.c doesn't need to include vax.h; gprof.h does itKen Raeburn2-1/+4
1995-11-16version 2.6Ken Raeburn1-0/+4
1995-11-08 * gprof.c (main): Cast getenv return value.Ian Lance Taylor2-1/+5
1995-11-06add tags targetKen Raeburn2-0/+8
1995-11-01 * Makefile.in (DISTSTUFF): Rename to GEN_FILES, to avoid confusion.Per Bothner2-4/+10
(all): Depend on $(GEN_FILES), not diststuff (which also depends on info).
1995-11-01Wed Nov 1 15:23:15 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 ↵Ian Lance Taylor2-0/+6
<manfred@lts.sel.alcatel.de> * sym_ids.c: Include <ctype.h>.
1995-10-25 * Makefile.in (diststuff): Also make info.Per Bothner2-3/+9
(mostlyclean): Don't remove gprof.info*. (maintainer-clean realclean): Also remove *.info*.
1995-10-06Mon Sep 25 22:49:32 1995 Andreas Schwab ↵Ken Raeburn4-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.
1995-09-20 * Makefile.in (maintainer-clean): New target, synonym forIan Lance Taylor2-1/+6
realclean.
1995-09-08 * Makefile.in (install): Don't install in $(tooldir).Ian Lance Taylor2-5/+4
1995-09-05some ns32k updates from Ian DallKen Raeburn5-12/+20
1995-08-22 * Makefile.in (install): Remove "brokensed" hack, unnecessary nowJeff Law2-1/+6
that we're using autoconf.
1995-08-16all v2.2 && v2.3 autoconf-generated configure scripts updated toJason Molenda1-3/+3
autoconf v2.4 (not a very big change). fixes PR 7695.
1995-07-20 * core.c (get_src_info): Cast arg 7 of bfd_find_nearest_lineFred Fish2-1/+6
to proper type of "unsigned int *".
1995-07-07add final newlineKen Raeburn1-1/+1
1995-06-16use changequote around []Ken Raeburn3-1/+7
1995-06-12* Makefile.in (distclean, realclean): Remove config.cache andJ.T. Conklin2-1/+6
config.log.
1995-05-18* Makefile.in (Makefile): Added config.status to dependency list.J.T. Conklin2-2/+12
(config.status): New target. (SHELL): New definition.
1995-04-26* Makefile.in (install): Depend on "all".Ken Raeburn2-1/+5
1995-04-20* Makefile.in: Change all references to MY_MACHINE to MY_TARGET, to matchKen Raeburn2-5/+10
configure script.
1995-04-19* gen-c-prog.awk: Changed reference to "make-c-prog.awk" inJ.T. Conklin14-72/+840
comment emitted by this script to gen-c-prog.awk. * Makefile.in, configure.in: Converted to use autoconf. * configure: New file, generated with autoconf 2.3. * config/{mt-alpha, mt-dummy, mt-i386, mt-ns532, mt-sparc, mt-tahoe, mt-vax}: Removed.
1995-03-14* __bb_exit_func.c: New file, from David Mosberger-Tang.Ken Raeburn25-577/+647
Thu Feb 9 16:56:07 1995 David Mosberger-Tang <davidm@piston.cs.arizona.edu> * All *.c: More cleanup towards GNU format. * gmon_out.h (struct gmon_hist_hdr, struct gmon_cg_arc_record): replaced sizeof (bfd_vma) by size (char*) because Ken tells me that bfd_vma is only guaranteed to be at least as big as a pointer. (GMON_Record_tag): added explicit enumeration values to ensure compatibility across compilers. * gmon_io.c (get_vma, put_vma): replaced sizeof(bfd_vma) by sizeof(char*).
1995-02-08keep utils.{c,h}Ken Raeburn1-0/+2
1995-02-08ran "indent -gnu"; have not fixed block comment styleKen Raeburn47-4456/+5259
1995-02-07updated for added/removed filesKen Raeburn2-5/+35
1995-02-07Lots of changes from David Mosberger-Tang; see ChangeLog and NOTES for details:Ken Raeburn59-3396/+6470
Alpha support. Long options. New file format to support more information; backwards compatibility. Line-level profiling, on systems where bfd_find_nearest_line works. Selective display of data.
1994-11-07keep ns32k stuffKen Raeburn2-0/+3
1994-11-04* printgprof.c (flatprofheader): Always set totime to 1.0 if not greater thanKen Raeburn2-10/+14
0.0. Suggested by Harold Assink <carlo@sg.tn.tudelft.nl>.
1994-09-23cfree -> freeKen Raeburn2-3/+8
1994-09-01 * gprof.h (kfromlist, ktolist, flist, Flist, elist, Elist): MakeJeff Law2-6/+11
decls extern to keep native HP compiler quiet.
1994-08-30 * gprof.c (funcsymbol): Ignore ___gnu_compiled as well asIan Lance Taylor2-1/+8
__gnu_compiled, for the benefit of systems which add a leading underscore.
1994-08-24 * configure.in: Change i386-*-* to i[345]86-*-*.Ian Lance Taylor2-1/+5
1994-07-13ns532 support from Ian DallKen Raeburn6-1/+79
1994-06-23 * Makefile.in (gprof): Depend on $(LIBS).Jeff Law2-1/+5
1994-06-22keep configure.batKen Raeburn1-0/+1
1994-05-27changes from gas-2.3/binutils-2.4 dist (details in branch log msgs, changelogs)Ken Raeburn5-2/+51
1994-05-17 * Makefile.in (.m.c:): Added .SUFFIXES : .mBill Cox2-0/+7
so flat_bl.c would make from flat_bl.m file.
1994-05-05gprof.h, Makefile.in changesKen Raeburn1-0/+7
1994-05-05(TRUE, FALSE): Always use undef before defining them.Ken Raeburn1-0/+5
1994-05-05(install-info): Check for gprof.info in build dir, fall back to srcdir. DependKen Raeburn1-3/+8
on it.
1994-04-05 * Makefile.in (MY_MACHINE): Renamed from MACHINE to avoid losingJeff Law7-9/+15
makes (osf1) in which the value of MACHINE can not be changed. * config/*.mt: Changed appropriately.
1994-03-30 * gprof.c (getsymtab): Change nosyms to long. RenameIan Lance Taylor2-4/+23
get_symtab_upper_bound to bfd_get_symtab_upper_bound. Check for errors from bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
1994-03-22 * gprof.c (funcsymbol): Use bfd_get_symbol_info instead ofJeff Law2-2/+10
bfd_decode_symclass.