I encountered several errors when I used perf scritp to generate output:
command:
$ perf script -F comm,pid,tid,cpu,time,period,event,ip,sym,dso,trace
and the output:
'trace' not valid for hardware events. Ignoring.
'trace' not valid for software events. Ignoring.
'trace' not valid for hardware-cache events. Ignoring.
'trace' not valid for unknown events. Ignoring.
'trace' not valid for unknown events. Ignoring.
'trace' not valid for unknown events. Ignoring.
segment fault(core dumped)
I have enabled the opiton of sched_schedstats by "echo 1 > /proc/sys/kernel/sched_schedstats",and the perf.data is generated by commad "perf inject -v -s -i perf.data.raw -o perf.data".
How can I fix the errors and do I have anything else to configure?
Ubuntu 18.04 kernel version:5.4.0-150-generic
I encountered several errors when I used perf scritp to generate output: command: $ perf script -F comm,pid,tid,cpu,time,period,event,ip,sym,dso,trace and the output: 'trace' not valid for hardware events. Ignoring. 'trace' not valid for software events. Ignoring. 'trace' not valid for hardware-cache events. Ignoring. 'trace' not valid for unknown events. Ignoring. 'trace' not valid for unknown events. Ignoring. 'trace' not valid for unknown events. Ignoring. segment fault(core dumped)
I have enabled the opiton of sched_schedstats by "echo 1 > /proc/sys/kernel/sched_schedstats",and the perf.data is generated by commad "perf inject -v -s -i perf.data.raw -o perf.data". How can I fix the errors and do I have anything else to configure?