Running the profile.py tool leads to the following runtime exception when run with either HiKey or Shell set as remote:
Sampling at 49 Hertz of all threads by user + kernel stack... Hit Ctrl-C to end.
ioctl(PERF_EVENT_IOC_SET_BPF) failed: Bad file descriptor
Traceback (most recent call last):
File "./tools/profile.py", line 219, in <module>
sample_period=0, sample_freq=args.frequency)
File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 860, in attach_perf_event
sample_period, sample_freq, pid, i, group_fd)
File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 847, in _attach_perf_event
raise Exception("Failed to attach BPF to perf event")
Exception: Failed to attach BPF to perf event
Running the profile.py tool leads to the following runtime exception when run with either HiKey or Shell set as remote: