diff options
author | Ingo Molnar <mingo@kernel.org> | 2015-01-28 09:48:59 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-01-28 09:48:59 -0500 |
commit | b3890e4704594fa23abe1395d1fafc97d3214be8 (patch) | |
tree | 23e2659713e01779e8854363eb7d1fac49683d32 /tools/perf/Documentation | |
parent | 29bf4dbc9841366577ba44175b00c543ad1712d6 (diff) | |
parent | 2a2662bf88e693d477ef08351d03934f7bc0b51c (diff) |
Merge branch 'perf/hw_breakpoints' into perf/core
The new hw_breakpoint bits are now ready for v3.20, merge them
into the main branch, to avoid conflicts.
Conflicts:
tools/perf/Documentation/perf-record.txt
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/Documentation')
-rw-r--r-- | tools/perf/Documentation/perf-record.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/perf/Documentation/perf-record.txt b/tools/perf/Documentation/perf-record.txt index 7d8df2e5edd8..31e977459c51 100644 --- a/tools/perf/Documentation/perf-record.txt +++ b/tools/perf/Documentation/perf-record.txt | |||
@@ -45,12 +45,15 @@ OPTIONS | |||
45 | param1 and param2 are defined as formats for the PMU in: | 45 | param1 and param2 are defined as formats for the PMU in: |
46 | /sys/bus/event_sources/devices/<pmu>/format/* | 46 | /sys/bus/event_sources/devices/<pmu>/format/* |
47 | 47 | ||
48 | - a hardware breakpoint event in the form of '\mem:addr[:access]' | 48 | - a hardware breakpoint event in the form of '\mem:addr[/len][:access]' |
49 | where addr is the address in memory you want to break in. | 49 | where addr is the address in memory you want to break in. |
50 | Access is the memory access type (read, write, execute) it can | 50 | Access is the memory access type (read, write, execute) it can |
51 | be passed as follows: '\mem:addr[:[r][w][x]]'. | 51 | be passed as follows: '\mem:addr[:[r][w][x]]'. len is the range, |
52 | number of bytes from specified addr, which the breakpoint will cover. | ||
52 | If you want to profile read-write accesses in 0x1000, just set | 53 | If you want to profile read-write accesses in 0x1000, just set |
53 | 'mem:0x1000:rw'. | 54 | 'mem:0x1000:rw'. |
55 | If you want to profile write accesses in [0x1000~1008), just set | ||
56 | 'mem:0x1000/8:w'. | ||
54 | 57 | ||
55 | --filter=<filter>:: | 58 | --filter=<filter>:: |
56 | Event filter. | 59 | Event filter. |