diff options
| author | Ingo Molnar <mingo@elte.hu> | 2008-12-17 00:43:10 +0100 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-12-17 01:02:21 +0100 |
| commit | a86ed50859d65a08beec9474df97b88438a996df (patch) | |
| tree | 355cd6dcbba43662e2db925c25cedeaa27286bbb /lib/string_helpers.c | |
| parent | f65cb45cba63f249458b669aa67069eabc37b2f5 (diff) | |
perfcounters: use hw_event.disable flag
Impact: implement default-off counters
Make sure that counters that are created with counter.hw_event.disabled=1,
get created in disabled state.
They can be enabled via:
prctl(PR_TASK_PERF_COUNTERS_ENABLE);
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
