Em Fri, Jan 28, 2011 at 05:49:00PM +0530, nelakurthi koteswararao escreveu: > I run the Perftest commands on 2.6.35 tree . > I want to test perf commands itself whether > they are producing the correct results or not. > > That means..suppose if i have following perf commands > > How to write test to test the above commands whether they are producing > the proper results specific to perf commands or not? > > Some tests like checking the processor registers at regular intervals to > validate > the perf results ? Any inputs regarding this query...?
That is a good question, we need more tests in tools/perf/builtin-test.c that do this kinds of validations. So far I wrote some that generate tracepoint events, but I can envision for instance, figuring out the size of the L2 processor cache, creating an array that is of that size, then go on touching it till it trashes the cache while measuring the relevant event. - Arnaldo -- To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
