FS#77826 - [perf] recording syscall tracepoints reports that tracepoints are not available

Attached to Project: Community Packages
Opened by The 8472 (the8472) - Sunday, 12 March 2023, 18:19 GMT
Last edited by Sébastien Luttringer (seblu) - Wednesday, 24 May 2023, 00:37 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:

Syscall tracing doesn't work, possibly because perf is not built with libtraceevent support.


Additional info:
core/linux 6.2.5.arch1-1 [installed]
community/perf 6.2-1 (linux-tools) [installed]
community/libtraceevent 1:1.7.1-1 [installed]

Steps to reproduce:

[root@ ~]# perf record -e syscalls:sys_enter_read ls
event syntax error: 'syscalls:sys_enter_read'
\___ unsupported tracepoint

libtraceevent is necessary for tracepoint support
Run 'perf list' for a list of valid events

[root@ ~]# perf list | grep enter_read
syscalls:sys_enter_read [Tracepoint event]
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Wednesday, 24 May 2023, 00:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  perf-6.3-2
Comment by Toolybird (Toolybird) - Sunday, 12 March 2023, 21:33 GMT
Makefile.config:1216: Warning: libtraceevent is missing limiting functionality, please install libtraceevent-dev/libtraceevent-devel
Comment by Tatsuyuki Ishi (ishitatsuyuki) - Friday, 14 April 2023, 15:16 GMT
Rebuilding linux-tools with libtraceevent installed makes it work, so this can be as simple as adding a dependency.
Comment by Toolybird (Toolybird) - Tuesday, 16 May 2023, 20:54 GMT
Dupe  FS#78532 
Comment by loqs (loqs) - Tuesday, 23 May 2023, 20:40 GMT
Same issue with perf-6.3-1.
Comment by Toolybird (Toolybird) - Tuesday, 23 May 2023, 21:25 GMT
Another dupe  FS#78577 

Loading...