gem5/base/loader
Steve Reinhardt fed64a3b36 Add support for sampled PC profiling to FullCPU.
Simple text list of symbol (or address) and count
will be dumped to m5prof.<cpu-name> if the cpu's
pc_sample_interval param is set.

SConscript:
    Add cpu/full_cpu/pc_sample_profile.cc
base/callback.hh:
    Add a comment about MakeCallback.
    Fix type in another comment.
base/loader/symtab.cc:
    Revamp findNearestSymbol() to provide addresses of both
    nearest symbols (preceding and following) as well as
    string for former.

    Move global definition of debugSymbolTable here too.
base/loader/symtab.hh:
    Revamp findNearestSymbol() to provide addresses of both
    nearest symbols (preceding and following) as well as
    string for former.

    Move global declaration of debugSymbolTable here too.
cpu/exetrace.cc:
    Use new findNearestSymbol() interface for trace symbols.
kern/linux/linux_system.cc:
sim/system.cc:
    Remove extern of debugSymbolTable (now in symtab.hh)
sim/process.cc:
    Initialize debugSymbolTable if binary has a symbol table.

--HG--
extra : convert_revision : 0b5393dc39c40ac88c953684708f1125da550671
2004-11-15 01:56:40 -05:00
..
aout_object.cc Restructuring of LiveProcess etc. to support multiple emulated OS syscall 2003-12-01 19:34:38 -08:00
aout_object.hh Restructuring of LiveProcess etc. to support multiple emulated OS syscall 2003-12-01 19:34:38 -08:00
coff_sym.h File moves for the reorg. Tree is in broken state until I commit the makefile and 2003-10-10 09:57:26 -07:00
coff_symconst.h File moves for the reorg. Tree is in broken state until I commit the makefile and 2003-10-10 09:57:26 -07:00
ecoff_object.cc Restructuring of LiveProcess etc. to support multiple emulated OS syscall 2003-12-01 19:34:38 -08:00
ecoff_object.hh Restructuring of LiveProcess etc. to support multiple emulated OS syscall 2003-12-01 19:34:38 -08:00
elf_object.cc allow the use of old console code and update elf_object not to rely on EM_ALPHA value. 2004-06-27 14:33:55 -04:00
elf_object.hh Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
exec_aout.h Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
exec_ecoff.h Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
object_file.cc Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
object_file.hh Updated Copyright with information in bitkeeper changelogs 2004-06-08 13:37:27 -04:00
symtab.cc Add support for sampled PC profiling to FullCPU. 2004-11-15 01:56:40 -05:00
symtab.hh Add support for sampled PC profiling to FullCPU. 2004-11-15 01:56:40 -05:00