Commit 16ce467
tools/power turbostat: Allow mapping multiple PMT files with the same GUID
Some platforms may expose multiple telemetry files identified with the
same GUID. Interpreting it correctly, to associate given counter with a
CPU, core or a package requires more metadata from the user.
Parse and create ordered, linked list of those PMT aggregators, so that
we can identify specific aggregator with GUID + sequence number.
Signed-off-by: Patryk Wlazlyn <patryk.wlazlyn@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>1 parent 4265a86 commit 16ce467
1 file changed
Lines changed: 40 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9033 | 9033 | | |
9034 | 9034 | | |
9035 | 9035 | | |
9036 | | - | |
9037 | | - | |
| 9036 | + | |
| 9037 | + | |
9038 | 9038 | | |
9039 | | - | |
9040 | 9039 | | |
9041 | 9040 | | |
9042 | 9041 | | |
9043 | 9042 | | |
9044 | | - | |
| 9043 | + | |
| 9044 | + | |
9045 | 9045 | | |
9046 | 9046 | | |
9047 | 9047 | | |
9048 | 9048 | | |
9049 | | - | |
9050 | | - | |
| 9049 | + | |
| 9050 | + | |
| 9051 | + | |
| 9052 | + | |
9051 | 9053 | | |
| 9054 | + | |
9052 | 9055 | | |
9053 | | - | |
9054 | | - | |
9055 | | - | |
9056 | | - | |
9057 | | - | |
9058 | | - | |
9059 | | - | |
9060 | | - | |
9061 | | - | |
9062 | | - | |
9063 | | - | |
9064 | | - | |
9065 | | - | |
9066 | | - | |
9067 | | - | |
9068 | | - | |
| 9056 | + | |
| 9057 | + | |
9069 | 9058 | | |
9070 | 9059 | | |
9071 | 9060 | | |
9072 | 9061 | | |
9073 | 9062 | | |
9074 | 9063 | | |
9075 | | - | |
| 9064 | + | |
9076 | 9065 | | |
9077 | 9066 | | |
9078 | 9067 | | |
| |||
9106 | 9095 | | |
9107 | 9096 | | |
9108 | 9097 | | |
9109 | | - | |
9110 | 9098 | | |
9111 | 9099 | | |
9112 | 9100 | | |
9113 | | - | |
| 9101 | + | |
9114 | 9102 | | |
9115 | | - | |
| 9103 | + | |
9116 | 9104 | | |
9117 | 9105 | | |
9118 | 9106 | | |
9119 | 9107 | | |
9120 | | - | |
9121 | | - | |
9122 | | - | |
9123 | | - | |
| 9108 | + | |
| 9109 | + | |
| 9110 | + | |
| 9111 | + | |
| 9112 | + | |
| 9113 | + | |
| 9114 | + | |
| 9115 | + | |
| 9116 | + | |
| 9117 | + | |
| 9118 | + | |
| 9119 | + | |
| 9120 | + | |
| 9121 | + | |
| 9122 | + | |
| 9123 | + | |
9124 | 9124 | | |
9125 | | - | |
9126 | | - | |
| 9125 | + | |
9127 | 9126 | | |
9128 | 9127 | | |
9129 | 9128 | | |
9130 | 9129 | | |
9131 | 9130 | | |
9132 | | - | |
9133 | 9131 | | |
9134 | 9132 | | |
9135 | | - | |
| 9133 | + | |
9136 | 9134 | | |
9137 | | - | |
| 9135 | + | |
| 9136 | + | |
| 9137 | + | |
| 9138 | + | |
| 9139 | + | |
| 9140 | + | |
| 9141 | + | |
| 9142 | + | |
9138 | 9143 | | |
9139 | 9144 | | |
9140 | 9145 | | |
| |||
0 commit comments