@@ -21,7 +21,7 @@ pub const HEADER_AUXTRACE: u32 = 18;
2121pub const HEADER_STAT : u32 = 19 ;
2222pub const HEADER_CACHE : u32 = 20 ;
2323pub const HEADER_SAMPLE_TIME : u32 = 21 ;
24- pub const HEADER_SAMPLE_TOPOLOGY : u32 = 22 ;
24+ pub const HEADER_MEM_TOPOLOGY : u32 = 22 ;
2525pub const HEADER_CLOCKID : u32 = 23 ;
2626pub const HEADER_DIR_FORMAT : u32 = 24 ;
2727pub const HEADER_BPF_PROG_INFO : u32 = 25 ;
@@ -31,6 +31,7 @@ pub const HEADER_CPU_PMU_CAPS: u32 = 28;
3131pub const HEADER_CLOCK_DATA : u32 = 29 ;
3232pub const HEADER_HYBRID_TOPOLOGY : u32 = 30 ;
3333pub const HEADER_HYBRID_CPU_PMU_CAPS : u32 = 31 ;
34+ pub const HEADER_PMU_CAPS : u32 = 32 ;
3435
3536/// simpleperf `FEAT_FILE`
3637pub const HEADER_SIMPLEPERF_FILE : u32 = 128 ;
@@ -75,7 +76,7 @@ impl Feature {
7576 pub const STAT : Self = Self ( HEADER_STAT ) ;
7677 pub const CACHE : Self = Self ( HEADER_CACHE ) ;
7778 pub const SAMPLE_TIME : Self = Self ( HEADER_SAMPLE_TIME ) ;
78- pub const SAMPLE_TOPOLOGY : Self = Self ( HEADER_SAMPLE_TOPOLOGY ) ;
79+ pub const MEM_TOPOLOGY : Self = Self ( HEADER_MEM_TOPOLOGY ) ;
7980 pub const CLOCKID : Self = Self ( HEADER_CLOCKID ) ;
8081 pub const DIR_FORMAT : Self = Self ( HEADER_DIR_FORMAT ) ;
8182 pub const BPF_PROG_INFO : Self = Self ( HEADER_BPF_PROG_INFO ) ;
@@ -85,6 +86,7 @@ impl Feature {
8586 pub const CLOCK_DATA : Self = Self ( HEADER_CLOCK_DATA ) ;
8687 pub const HYBRID_TOPOLOGY : Self = Self ( HEADER_HYBRID_TOPOLOGY ) ;
8788 pub const HYBRID_CPU_PMU_CAPS : Self = Self ( HEADER_HYBRID_CPU_PMU_CAPS ) ;
89+ pub const PMU_CAPS : Self = Self ( HEADER_PMU_CAPS ) ;
8890 pub const SIMPLEPERF_FILE : Self = Self ( HEADER_SIMPLEPERF_FILE ) ;
8991 pub const SIMPLEPERF_META_INFO : Self = Self ( HEADER_SIMPLEPERF_META_INFO ) ;
9092 pub const SIMPLEPERF_DEBUG_UNWIND : Self = Self ( HEADER_SIMPLEPERF_DEBUG_UNWIND ) ;
@@ -116,7 +118,7 @@ impl fmt::Display for Feature {
116118 Self :: STAT => "STAT" . fmt ( f) ,
117119 Self :: CACHE => "CACHE" . fmt ( f) ,
118120 Self :: SAMPLE_TIME => "SAMPLE_TIME" . fmt ( f) ,
119- Self :: SAMPLE_TOPOLOGY => "SAMPLE_TOPOLOGY " . fmt ( f) ,
121+ Self :: MEM_TOPOLOGY => "MEM_TOPOLOGY " . fmt ( f) ,
120122 Self :: CLOCKID => "CLOCKID" . fmt ( f) ,
121123 Self :: DIR_FORMAT => "DIR_FORMAT" . fmt ( f) ,
122124 Self :: BPF_PROG_INFO => "BPF_PROG_INFO" . fmt ( f) ,
@@ -126,6 +128,7 @@ impl fmt::Display for Feature {
126128 Self :: CLOCK_DATA => "CLOCK_DATA" . fmt ( f) ,
127129 Self :: HYBRID_TOPOLOGY => "HYBRID_TOPOLOGY" . fmt ( f) ,
128130 Self :: HYBRID_CPU_PMU_CAPS => "HYBRID_CPU_PMU_CAPS" . fmt ( f) ,
131+ Self :: PMU_CAPS => "PMU_CAPS" . fmt ( f) ,
129132 Self :: SIMPLEPERF_FILE => "SIMPLEPERF_FILE" . fmt ( f) ,
130133 Self :: SIMPLEPERF_META_INFO => "SIMPLEPERF_META_INFO" . fmt ( f) ,
131134 Self :: SIMPLEPERF_DEBUG_UNWIND => "SIMPLEPERF_DEBUG_UNWIND" . fmt ( f) ,
0 commit comments