![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 0003 /* 0004 * DOMAIN(name, num, index_kind, is_physical) 0005 * 0006 * @name: An all caps token, suitable for use in generating an enum 0007 * member and appending to an event name in sysfs. 0008 * 0009 * @num: The number corresponding to the domain as given in 0010 * documentation. We assume the catalog domain and the hcall 0011 * domain have the same numbering (so far they do), but this 0012 * may need to be changed in the future. 0013 * 0014 * @index_kind: A stringifiable token describing the meaning of the index 0015 * within the given domain. Must fit the parsing rules of the 0016 * perf sysfs api. 0017 * 0018 * @is_physical: True if the domain is physical, false otherwise (if virtual). 0019 * 0020 * Note: The terms PHYS_CHIP, PHYS_CORE, VCPU correspond to physical chip, 0021 * physical core and virtual processor in 24x7 Counters specifications. 0022 */ 0023 0024 DOMAIN(PHYS_CHIP, 0x01, chip, true) 0025 DOMAIN(PHYS_CORE, 0x02, core, true) 0026 DOMAIN(VCPU_HOME_CORE, 0x03, vcpu, false) 0027 DOMAIN(VCPU_HOME_CHIP, 0x04, vcpu, false) 0028 DOMAIN(VCPU_HOME_NODE, 0x05, vcpu, false) 0029 DOMAIN(VCPU_REMOTE_NODE, 0x06, vcpu, false)
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |