Версии пакетов: perf-5.15-alt1.x86_64 kernel-image-un-def-6.1.29-alt1.x86_64 Шаги воспроизведения: # update-kernel -t un-def # reboot # apt-get install perf # perf kmem record date Получаемый результат: event syntax error: 'kmem:kmalloc_node' \___ unknown tracepoint Error: File /sys/kernel/tracing/events/kmem/kmalloc_node not found. Hint: Perhaps this kernel misses some CONFIG_ setting to enable this feature?. Run 'perf list' for a list of valid events Usage: perf record [<options>] [<command>] or: perf record [<options>] -- <command> [<options>] -e, --event <event> event selector. use 'perf list' to list available events Вывод perf list: # perf list | grep kmem kmem:kfree [Tracepoint event] kmem:kmalloc [Tracepoint event] kmem:kmem_cache_alloc [Tracepoint event] kmem:kmem_cache_free [Tracepoint event] kmem:mm_page_alloc [Tracepoint event] kmem:mm_page_alloc_extfrag [Tracepoint event] kmem:mm_page_alloc_zone_locked [Tracepoint event] kmem:mm_page_free [Tracepoint event] kmem:mm_page_free_batched [Tracepoint event] kmem:mm_page_pcpu_drain [Tracepoint event] kmem:rss_stat [Tracepoint event] На ядре 5.10.166-std-def-alt1: # perf list | grep kmem kmem:kfree [Tracepoint event] kmem:kmalloc [Tracepoint event] kmem:kmalloc_node [Tracepoint event] kmem:kmem_cache_alloc [Tracepoint event] kmem:kmem_cache_alloc_node [Tracepoint event] kmem:kmem_cache_free [Tracepoint event] kmem:mm_page_alloc [Tracepoint event] kmem:mm_page_alloc_extfrag [Tracepoint event] kmem:mm_page_alloc_zone_locked [Tracepoint event] kmem:mm_page_free [Tracepoint event] kmem:mm_page_free_batched [Tracepoint event] kmem:mm_page_pcpu_drain [Tracepoint event] kmem:rss_stat [Tracepoint event] При этом в сизифе не воспроизводится на: perf-6.2-alt1 6.2.16-un-def-alt1 6.1.29-std-def-alt1 Вывод на обоих ядрах в сизифе: # perf list | grep kmem kmem:kfree [Tracepoint event] kmem:kmalloc [Tracepoint event] kmem:kmem_cache_alloc [Tracepoint event] kmem:kmem_cache_free [Tracepoint event] kmem:mm_page_alloc [Tracepoint event] kmem:mm_page_alloc_extfrag [Tracepoint event] kmem:mm_page_alloc_zone_locked [Tracepoint event] kmem:mm_page_free [Tracepoint event] kmem:mm_page_free_batched [Tracepoint event] kmem:mm_page_pcpu_drain [Tracepoint event] kmem:rss_stat [Tracepoint event] P.S. Возможно ошибка в perf, а не в ядре, не могу точно знать.
Пожалуй надо скопировать perf 6.2 в p10. Спасибо.
task #321865: added #100: build tag "6.2-alt1" from /gears/l/linux-tools.git