namhyung / uftrace

Function graph tracer for C/C++/Rust/Python
https://uftrace.github.io/slide/
GNU General Public License v2.0
3.01k stars 442 forks source link

busybox less detection fail #1123

Open honggyukim opened 4 years ago

honggyukim commented 4 years ago

In some cases, uftrace fails to detect busybox less, so the color is broken.

I found that the problem happens because of the following busybox less.

$ readlink /usr/bin/less
/usr/lib64/busybox/usr/bin/less
honggyukim commented 4 years ago

The file /usr/lib64/busybox/usr/bin/less is a shell script.

$ cat /usr/lib64/busybox/usr/bin/less
#!/bin/busybox.nosuid