File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ func isCollectableEvent(event EventDefinition, metadata Metadata) bool {
144144 }
145145 // off-core response events
146146 if event .Device == "cpu" && (strings .HasPrefix (event .Name , "OCR" ) || strings .HasPrefix (event .Name , "OFFCORE_REQUESTS_OUTSTANDING" )) {
147- if ! metadata .SupportsOCR {
147+ if ! ( metadata .SupportsOCR && metadata . SupportsUncore ) {
148148 slog .Debug ("Off-core response events not supported on target" , slog .String ("event" , event .Name ))
149149 return false
150150 } else if flagScope == scopeProcess || flagScope == scopeCgroup {
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ require (
1919 github.com/spf13/pflag v1.0.6
2020 github.com/xuri/excelize/v2 v2.9.0
2121 golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67
22- golang.org/x/term v0.28 .0
23- golang.org/x/text v0.21 .0
22+ golang.org/x/term v0.29 .0
23+ golang.org/x/text v0.22 .0
2424 gopkg.in/yaml.v2 v2.4.0
2525)
2626
@@ -33,5 +33,5 @@ require (
3333 github.com/xuri/nfp v0.0.0-20240318013403-ab9948c2c4a7 // indirect
3434 golang.org/x/crypto v0.31.0 // indirect
3535 golang.org/x/net v0.33.0 // indirect
36- golang.org/x/sys v0.29 .0 // indirect
36+ golang.org/x/sys v0.30 .0 // indirect
3737)
Original file line number Diff line number Diff line change @@ -38,12 +38,12 @@ golang.org/x/image v0.18.0 h1:jGzIakQa/ZXI1I0Fxvaa9W7yP25TqT6cHIHn+6CqvSQ=
3838golang.org/x/image v0.18.0 /go.mod h1:4yyo5vMFQjVjUcVk4jEQcU9MGy/rulF5WvUILseCM2E =
3939golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I =
4040golang.org/x/net v0.33.0 /go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4 =
41- golang.org/x/sys v0.29 .0 h1:TPYlXGxvx1MGTn2GiZDhnjPA9wZzZeGKHHmKhHYvgaU =
42- golang.org/x/sys v0.29 .0 /go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA =
43- golang.org/x/term v0.28 .0 h1:/Ts8HFuMR2E6IP/jlo7QVLZHggjKQbhu/7H0LJFr3Gg =
44- golang.org/x/term v0.28 .0 /go.mod h1:Sw/lC2IAUZ92udQNf3WodGtn4k/XoLyZoh8v/8uiwek =
45- golang.org/x/text v0.21 .0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo =
46- golang.org/x/text v0.21 .0 /go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ =
41+ golang.org/x/sys v0.30 .0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc =
42+ golang.org/x/sys v0.30 .0 /go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA =
43+ golang.org/x/term v0.29 .0 h1:L6pJp37ocefwRRtYPKSWOWzOtWSxVajvz2ldH/xi3iU =
44+ golang.org/x/term v0.29 .0 /go.mod h1:6bl4lRlvVuDgSf3179VpIxBF0o10JUpXWOnI7nErv7s =
45+ golang.org/x/text v0.22 .0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM =
46+ golang.org/x/text v0.22 .0 /go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY =
4747gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM =
4848gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
4949gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY =
You can’t perform that action at this time.
0 commit comments