bcc
bcc copied to clipboard
runqlat.py fails to find include file sched.h (enqueue_task)
root@henky:/var/tmp/bcc/tools# ./runqlat.py
include "kernel/sched/sched.h"
I worked around this by installing the linux source and linking to the header, should there be a dependancy on this?
I think that's actually a false dependency.
struct rq *rqisn't actually dereferenced in the bpf prog, so it can either be forward declared or defined as avoid *insteadstruct task_struct *pis available in<linux/sched.h>, which should work without any linux source being made available
Looks like all of these tools need to start being included in test infrastructure!