mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
perf tools: Bump default sample freq to 4 kHz
Quoting Ingo: "While at it I'd also suggest increasing the default sampling frequency, from 1000 Hz per CPU to at least 4Khz auto-freq or so - this should work well all across the board I think. CPUs are getting faster and command/app run times are getting shorter, 1Khz is a bit low IMO." Requested-by: Ingo Molnar <[email protected]> Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
This commit is contained in:
parent
299c345208
commit
447a6013e9
2 changed files with 2 additions and 2 deletions
|
|
@ -753,7 +753,7 @@ static struct perf_record record = {
|
|||
.mmap_pages = UINT_MAX,
|
||||
.user_freq = UINT_MAX,
|
||||
.user_interval = ULLONG_MAX,
|
||||
.freq = 1000,
|
||||
.freq = 4000,
|
||||
.target = {
|
||||
.uses_mmap = true,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1162,7 +1162,7 @@ int cmd_top(int argc, const char **argv, const char *prefix __used)
|
|||
struct perf_top top = {
|
||||
.count_filter = 5,
|
||||
.delay_secs = 2,
|
||||
.freq = 1000, /* 1 KHz */
|
||||
.freq = 4000, /* 4 KHz */
|
||||
.mmap_pages = 128,
|
||||
.sym_pcnt_filter = 5,
|
||||
.target = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue