summaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorJovi Zhang <bookjovi@gmail.com>2012-07-14 21:03:10 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-07-25 16:37:46 +0200
commit4a841d650ea435c69e60675537f158a620697290 (patch)
tree7dcee523821dc1021f9a5f5d09037635fed05311 /include/rdma
parentperf test: Add dso data caching tests (diff)
downloadlinux-4a841d650ea435c69e60675537f158a620697290.tar.xz
linux-4a841d650ea435c69e60675537f158a620697290.zip
perf tools: Make the breakpoint events sample period default to 1
There have one problem about hw_breakpoint perf event, as watched, the events reported to userspace is not correctly, sometime one trigger bp_event report several events, sometime bp_event cannot go through to user. The root cause is attr->freq is 1 passed to kernel defaultly in bp events, this make kernel calculate event period not as expect, make sample period to 1 will change attr->freq to 0, to fix this problem. This patch is similar with commit f92128 about tracepoint events: perf: Make the trace events sample period default to 1 Signed-off-by: Jovi Zhang <bookjovi@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/CACV3sbLF8taiCq_VYW-sgRJyupeMzg58C7ZXfMe3xZUiH_Mx6w@mail.gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions