I debugged it with gdb and it seems the program is not going inside the
listener function...

Anybody who has worked on probes has any idea why is that happening?

Thanks,
On Apr 17, 2015 1:16 PM, "Nimish Girdhar" <[email protected]> wrote:

> Hello,
>
> I am trying to understand how the probes infrastructure works. For that I
> wanted to see how the SimpleTrace probes work. But I am not able to do that.
>
> From what I understand, whenever the "ppCommit->notify(head_inst)" is
> called from the commit_impl.hh file, its listener in the simple_trace.cc
> which is traceCommit should be called which is the below function:-
>
> void SimpleTrace::traceCommit(const O3CPUImpl::DynInstPtr &dynInst)
> {
>     DPRINTFR(SimpleTrace, "[%s]: Commit 0x%08x %s.\n", name(),
>              dynInst->instAddr(),
>              dynInst->staticInst->disassemble(dynInst->instAddr()));
> }
>
> Then why I am not seeing the prints when I give --debug-flags= SimpleTrace
> in the cmd line.
>
> I am using the following command:-
> build/ARM/gem5.opt -d m5out/test_cpt --debug-flags=SimpleTrace
> configs/example/fs.py -n 2 --machine-type=VExpress_EMM
> --script=scripts/simmedium/bodytrack.rcS --cpu-type=arm_detailed --caches
> --l2cache
>
> Am I missing something here??
>
> Thanks,
> --
> Warm regards
> Nimish Girdhar
> Department of Electrical and Computer Engineering
> Texas A&M University
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to