hanjian
hanjian
My Linux FFmpeg will use 'cuda'(not cuvid) when using '-hwaccel auto'. My GPU is GTX750Ti
> > OS: Linux 5.10.81.1-microsoft-standard-WSL2 > > Maybe related? IDK more about kernel…… Need more detail? > The lifetime of the test_trace program is longer than that of bpftrace right?...
``` > sudo perf probe -x ./test_trace func Added new event: probe_test_trace:func (on func in /home/lhj/openresty-1.19.9.1/test_trace) You can now use it in all perf tools, such as: perf record -e...
bcc/tools/trace.py have same problem ``` > sudo ./bcc/tools/trace.py 'p:./openresty-1.19.9.1/test_trace:func' -U -a PID TID COMM FUNC 9274 9274 test_trace func 401156 [unknown] 7ffff7e03b25 [unknown] ```
it seems bpftrace get wrong pid(kernel pid)? `cat /proc/1087/maps` should be `cat /proc/801/maps` ``` sudo ./build/src/bpftrace -c ../openresty-1.19.9.1/test_trace -e 'u:../openresty-1.19.9.1/test_trace:func {print(probe);print(ustack());print(pid);print(cpid);}' Attaching 1 probe... uprobe:../openresty-1.19.9.1/test_trace:func 0x401156 0x7fc9e0b75b25 1087 801 ```
> > it seems bpftrace get wrong pid(kernel pid)? `cat /proc/1087/maps` should be `cat /proc/801/maps` > > Yes, this is incorrect - `pid` and `cpid` should be the same here....
I found a workaround. docker use `--pid=host` k8s use `HostPID: true` [https://kubernetes.io/docs/concepts/security/pod-security-policy/#host-namespaces](url)
Maybe there are too many places in istio that can be easily and cleanly extended through the interface
 This modification is ugly, but it works, How can we implement an elegant server side filter?
> The Discoveryselector as implemented today is impossible to do server side. We could introduce a simpler API like you did above in theory. > > What does 120W pods...