File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ hooks = []
2424
2525[dependencies ]
2626bitflags = " 2.1"
27- c-enum = " 0.1 "
27+ c-enum = " 0.2.0 "
2828libc = " 0.2"
2929memmap2 = " 0.9"
3030perf-event-data = " 0.1.1"
Original file line number Diff line number Diff line change @@ -105,7 +105,9 @@ c_enum! {
105105 /// Memory accesses that stay local to the originating NUMA node.
106106 NODE = bindings:: PERF_COUNT_HW_CACHE_NODE as _,
107107 }
108+ }
108109
110+ c_enum ! {
109111 /// What sort of cache operation we would like to observe.
110112 ///
111113 /// This is used in the `Cache` type as part of the identification of a cache
@@ -126,7 +128,9 @@ c_enum! {
126128 /// Prefetch accesses.
127129 PREFETCH = bindings:: PERF_COUNT_HW_CACHE_OP_PREFETCH as _,
128130 }
131+ }
129132
133+ c_enum ! {
130134 /// What sort of cache result we're interested in observing.
131135 ///
132136 /// `ACCESS` counts the total number of operations performed on the cache,
You can’t perform that action at this time.
0 commit comments