Add new function profiling stuff, wrap the pc_sample stuff into it.
authorNathan Binkert <binkertn@umich.edu>
Tue, 18 Oct 2005 23:07:42 +0000 (19:07 -0400)
committerNathan Binkert <binkertn@umich.edu>
Tue, 18 Oct 2005 23:07:42 +0000 (19:07 -0400)
commita81c03737addc8e9a9b00cde0354e6c0ab4561af
treee7415ec9c2a97cf676d5599a1cec2c1fd775ace2
parent357ee7a845eac0bd903ed31e31eec993d54a698c
Add new function profiling stuff, wrap the pc_sample stuff into it.

SConscript:
    Get rid of the pc_sample stuff and move to the new profiling stuff
base/traceflags.py:
    DPRINTF Stack stuff
cpu/base.cc:
cpu/base.hh:
cpu/exec_context.cc:
cpu/exec_context.hh:
cpu/simple/cpu.cc:
    Add profiling stuff
kern/kernel_stats.hh:
    Use a smart pointer
sim/system.cc:
sim/system.hh:
    Create a new symbol table that has all of the symbols for a
    particular system
util/stats/categories.py:
    change around the categories, add categories for function
    profiling stuff
util/stats/profile.py:
    No profile parsing and display code to deal with function
    profiling stuff, graph, dot, and text outputs.

--HG--
extra : convert_revision : b3de0cdc8bd468e42647966e2640ae009bda9eb8
16 files changed:
SConscript
arch/alpha/stacktrace.cc [new file with mode: 0644]
arch/alpha/stacktrace.hh [new file with mode: 0644]
base/traceflags.py
cpu/base.cc
cpu/base.hh
cpu/exec_context.cc
cpu/exec_context.hh
cpu/profile.cc [new file with mode: 0644]
cpu/profile.hh [new file with mode: 0644]
cpu/simple/cpu.cc
kern/kernel_stats.hh
sim/system.cc
sim/system.hh
util/stats/categories.py
util/stats/profile.py