Index: sid/bsp/configrun-sid.in
===================================================================
RCS file: /cvs/src/src/sid/bsp/configrun-sid.in,v
retrieving revision 1.37
diff -c -p -r1.37 configrun-sid.in
*** sid/bsp/configrun-sid.in 16 Dec 2005 10:23:12 -0000 1.37
--- sid/bsp/configrun-sid.in 26 Jun 2006 21:57:15 -0000
*************** if ($opt_cpu eq "mt")
*** 499,510 ****
if ($opt_gprof)
{
$second_section .= "# gprof connections
- connect-pin target-sched 0-event -> gprof sample
connect-pin deinit-sequence output-7 -> gprof store
! relate gprof target-component cpu
connect-pin cpu cg-caller -> gprof cg-caller
connect-pin cpu cg-callee -> gprof cg-callee
! set gprof value-attribute pc
set gprof bucket-size 4 # bytes per bucket
";
}
--- 499,511 ----
if ($opt_gprof)
{
$second_section .= "# gprof connections
connect-pin deinit-sequence output-7 -> gprof store
! connect-pin cpu sample-gprof -> gprof sample
! connect-pin cpu gprof-pc -> gprof pc
! connect-pin cpu gprof-pc-hi -> gprof pc-hi
connect-pin cpu cg-caller -> gprof cg-caller
connect-pin cpu cg-callee -> gprof cg-callee
! relate gprof target-component cpu
set gprof bucket-size 4 # bytes per bucket
";
}
Index: sid/component/profiling/sw-profile-gprof.xml
===================================================================
RCS file: /cvs/src/src/sid/component/profiling/sw-profile-gprof.xml,v
retrieving revision 1.4
diff -c -p -r1.4 sw-profile-gprof.xml
*** sid/component/profiling/sw-profile-gprof.xml 11 May 2006 16:04:38 -0000 1.4
--- sid/component/profiling/sw-profile-gprof.xml 26 Jun 2006 21:57:16 -0000
***************
*** 6,11 ****
--- 6,13 ----
This component needs to be configured with the
--- 56,62 ----
This component needs to be configured with the
***************
*** 78,90 ****
Whenever the Alternately, if the
Whenever the Alternately, if the
new sw-profile-gprof gprof
new SOME_KIND_OF_CPU cpu
relate gprof target-component cpu
connect-pin shutdown-manager output-5 -> gprof store
! connect-pin foo output -> cpu step!
! connect-pin foo output -> gprof sample
! # Set sampling interval by number of CPU instructions.
! set cpu step-insn-count 127
new sw-profile-gprof gprof
new SOME_KIND_OF_CPU cpu
relate gprof target-component cpu
connect-pin shutdown-manager output-5 -> gprof store
! connect-pin cpu sample-gprof -> gprof sample
! connect-pin cpu gprof-pc -> gprof pc