tmp_suning_uos_patched/tools/perf/util
Jovi Zhang 4a841d650e 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>
2012-07-25 11:37:46 -03:00
..
include perf tools: Adding round_up/round_down macros 2012-06-29 15:25:28 -03:00
scripting-engines tools lib traceevent: Add support for __print_hex() 2012-06-29 13:28:12 -03:00
abspath.c
alias.c
annotate.c perf symbols: Factor DSO symtab types to generic binary types 2012-07-25 11:32:36 -03:00
annotate.h
bitmap.c
build-id.c
build-id.h
cache.h
callchain.c perf callchain: Make callchain cursors TLS 2012-05-31 10:47:12 -03:00
callchain.h perf callchain: Make callchain cursors TLS 2012-05-31 10:47:12 -03:00
cgroup.c
cgroup.h
color.c
color.h
config.c perf config: Allow '_' in config file variable names 2012-05-29 21:59:02 -03:00
cpumap.c
cpumap.h
ctype.c
debug.c perf ui: Introduce struct perf_error_ops 2012-06-19 13:06:18 -03:00
debug.h perf ui: Introduce struct perf_error_ops 2012-06-19 13:06:18 -03:00
debugfs.c
debugfs.h
dso-test-data.c perf test: Add dso data caching tests 2012-07-25 11:33:17 -03:00
dwarf-aux.c
dwarf-aux.h
environment.c
event.c
event.h
evlist.c perf tools: Fix trace events storms due to weight demux 2012-07-25 11:32:06 -03:00
evlist.h perf tools: Stop using a global trace events description list 2012-06-27 13:08:42 -03:00
evsel.c perf evsel: Handle hw breakpoints event names in perf_evsel__name() 2012-06-29 13:28:13 -03:00
evsel.h perf evsel: Make some methods private 2012-06-19 13:06:22 -03:00
exec_cmd.c
exec_cmd.h
generate-cmdlist.sh
header.c perf tools: Dump exclude_{guest,host}, precise_ip header info too 2012-07-25 11:31:19 -03:00
header.h
help.c
help.h
hist.c perf hists: Print newline between hists callchains 2012-07-25 11:32:26 -03:00
hist.h perf tools: Add sort by src line/number 2012-06-19 13:06:18 -03:00
hweight.c
levenshtein.c
levenshtein.h
map.c perf kvm: Limit repetitive guestmount message to once per directory 2012-07-25 11:31:03 -03:00
map.h perf kvm: Fix bug resolving guest kernel syms 2012-07-25 11:30:13 -03:00
pager.c perf tools: Fix pager on minimal-install embedded systems 2012-05-30 15:10:39 -03:00
parse-events-test.c perf test: Use ARRAY_SIZE in parse events tests 2012-07-04 11:31:26 -03:00
parse-events.c perf tools: Make the breakpoint events sample period default to 1 2012-07-25 11:37:46 -03:00
parse-events.h Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core 2012-06-20 13:41:53 +02:00
parse-events.l perf tools: Split out PE_VALUE_SYM parsing token to SW and HW tokens 2012-07-05 11:29:56 -03:00
parse-events.y perf tools: Split out PE_VALUE_SYM parsing token to SW and HW tokens 2012-07-05 11:29:56 -03:00
parse-options.c
parse-options.h
path.c
PERF-VERSION-GEN perf tools: Make --version show kernel version instead of pull req tag 2012-05-31 11:20:59 -03:00
pmu.c perf tools: Fix generation of pmu list 2012-06-29 13:31:27 -03:00
pmu.h perf/tool: Add PMU event alias support 2012-06-18 12:13:26 +02:00
pmu.l
pmu.y
probe-event.c perf uprobes: Remove unnecessary check before strlist__delete 2012-05-31 12:08:49 -03:00
probe-event.h
probe-finder.c
probe-finder.h
pstack.c
pstack.h
python-ext-sources
python.c
quote.c
quote.h
run-command.c
run-command.h
session.c perf kvm: Fix bug resolving guest kernel syms 2012-07-25 11:30:13 -03:00
session.h perf tools: Stop using a global trace events description list 2012-06-27 13:08:42 -03:00
setup.py
sigchain.c
sigchain.h
sort.c perf tools: Add sort by src line/number 2012-06-19 13:06:18 -03:00
sort.h perf tools: Add sort by src line/number 2012-06-19 13:06:18 -03:00
strbuf.c
strbuf.h
strfilter.c
strfilter.h
string.c perf lib: Introduce rtrim 2012-06-19 13:06:19 -03:00
strlist.c
strlist.h
svghelper.c
svghelper.h
symbol.c perf symbols: Add dso data caching 2012-07-25 11:33:04 -03:00
symbol.h perf test: Add dso data caching tests 2012-07-25 11:33:17 -03:00
sysfs.c
sysfs.h
target.c
target.h
thread_map.c
thread_map.h
thread.c
thread.h
tool.h
top.c perf tools: Move all users of event_name to perf_evsel__name 2012-06-19 13:06:20 -03:00
top.h
trace-event-info.c
trace-event-parse.c Merge branch 'linus' into perf/core 2012-07-18 11:17:17 +02:00
trace-event-read.c perf tools: Stop using a global trace events description list 2012-06-27 13:08:42 -03:00
trace-event-scripting.c perf tools: Stop using a global trace events description list 2012-06-27 13:08:42 -03:00
trace-event.h perf tools: Stop using a global trace events description list 2012-06-27 13:08:42 -03:00
types.h
usage.c
util.c
util.h perf lib: Introduce rtrim 2012-06-19 13:06:19 -03:00
values.c
values.h
wrapper.c
xyarray.c
xyarray.h