diff options
author | Frederic Weisbecker <[email protected]> | 2010-04-13 00:32:30 +0200 |
---|---|---|
committer | Frederic Weisbecker <[email protected]> | 2010-05-01 04:32:12 +0200 |
commit | f93a20541134fa767e8dc4eb32e956d30b9f6b92 (patch) | |
tree | da262316510683286dcaf1dbc2e4dddc5ac44ba3 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 0102752e4c9e0655b39734550d4c35327954f7f9 (diff) |
hw-breakpoints: Handle breakpoint weight in allocation constraints
Depending on their nature and on what an arch supports, breakpoints
may consume more than one address register. For example a simple
absolute address match usually only requires one address register.
But an address range match may consume two registers.
Currently our slot allocation constraints, that tend to reflect the
limited arch's resources, always consider that a breakpoint consumes
one slot.
Then provide a way for archs to tell us the weight of a breakpoint
through a new hw_breakpoint_weight() helper. This weight will be
computed against the generic allocation constraints instead of
a constant value.
Signed-off-by: Frederic Weisbecker <[email protected]>
Acked-by: Paul Mundt <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Mahesh Salgaonkar <[email protected]>
Cc: K. Prasad <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions