nvdv / vprof

Visual profiler for Python
BSD 2-Clause "Simplified" License
3.95k stars 154 forks source link

vprof -s ".venv/bin/cmd --arg val" groups "--arg val" as a string for cmd #44

Closed roaet closed 8 years ago

roaet commented 8 years ago

This is happening with neutron-server:

λ vprof -c cmh -H 192.168.8.1 -p 8000 -s ".venv/bin/neutron-server --config-file /home/jhammond/etc/neutron/neutron.conf"
...
neutron-server: error: unrecognized arguments: --config-file /home/jhammond/etc/neutron/neutron.conf
...

Whereas without vprof works:

λ .venv/bin/neutron-server --config-file /home/jhammond/etc/neutron/neutron.conf
Guru mediation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports.
Option "notification_driver" from group "DEFAULT" is deprecated. Use option "driver" from group "oslo_messaging_notifications".
2016-05-20 13:43:12.287 29198 INFO neutron.common.config [-] Logging enabled!
2016-05-20 13:43:12.288 29198 INFO neutron.common.config [-] .venv/bin/neutron-server version 8.0.1.dev363