diff options
| author | Joerg Roedel <[email protected]> | 2011-10-05 14:01:16 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2011-10-06 13:00:28 +0200 |
| commit | a240f76165e6255384d4bdb8139895fac7988799 (patch) | |
| tree | 1c1f9f5aa459573bd0a084912f8629d08457e4e5 /tools/perf/scripts/python/netdev-times.py | |
| parent | 7b4f86ac057821740e8499afde6faf9c7b08f69f (diff) | |
perf, core: Introduce attrs to count in either host or guest mode
The two new attributes exclude_guest and exclude_host can
bes used by user-space to tell the kernel to setup
performance counter to either only count while the CPU is in
guest or in host mode.
An additional check is also introduced to make sure
user-space does not try to exclude guest and host mode from
counting.
Signed-off-by: Joerg Roedel <[email protected]>
Signed-off-by: Gleb Natapov <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions