Nilay Vaish <nilay <at> cs.wisc.edu> writes: > > On Mon, 23 Apr 2012, Meng Zhang wrote: > > > Hi, Nilay > > Could you tell me how did you use the m5thhreads in X86 architecture. > > m5_prof_syscall is defined for SPARC at line 30 in profiling_hooks.h. How > > to > > modify it for X86 asm. > > > > I have not used it in some time. IIRC nothing special was required. > Instead of compiling your program with pthreads library, compile with > m5threads. That should be enough. You would have to be more specific, in > case you need more help. > > -- > Nilay >
Hi, Nilay Thank you reply. I think I stuck on the flag "-DM5_PROFILING" which is described as an optional profiling hooks to measure synchronization use in README file. I used the sample Makefile of original tar, CFLAGS came with -DM5_PROFILING. After commenting it, the compiling worked. _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
