Hi Harald, On Thu, 24 Oct 2013 09:48:09 +0200, Harald Servat wrote: > On 24/10/13 07:12, Andi Kleen wrote: >> Harald Servat <harald.ser...@bsc.es> writes: >>> Unfortunately, this seems to break something and >>> perf segfaults often. Which is the most appropriate way to tune the >>> user frequency of perf mem? >> >> Best would be probably to fix it to pass through unknown >> options, then -F/-c could be just used. I'm not sure >> if this is possible easily with the git option parser. > > Sorry, I'm not sure what is the "git option parser" here.
Just implementation details. The source code of the option parser came from the git project. > I think that this could be implemented extending the mem_options[] in > file builtin-mem.c lines 205-221. Or else, use 'perf record' directly as Andi suggested. > >> Alternatively you can just specify the command line perf mem record >> would specify directly to perf record, plus -c/-F $ perf record -Wd -e cpu/mem-loads/pp -F 200 -- ls $ perf mem report Thanks, Namhyung -- To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html