Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sql-server-2005/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Debian 如何限制xdebug profiler创建的cachegrind文件_Debian_Valgrind_Cachegrind_Xdebug Profiler_Webgrind - Fatal编程技术网

Debian 如何限制xdebug profiler创建的cachegrind文件

Debian 如何限制xdebug profiler创建的cachegrind文件,debian,valgrind,cachegrind,xdebug-profiler,webgrind,Debian,Valgrind,Cachegrind,Xdebug Profiler,Webgrind,有没有办法限制cachegrind文件(xdebug评测输出)? 我想启用xdebug.profile来调试整个项目(不仅仅是触发器),但如果有人忘记禁用它,我不希望光盘已满 我在中找不到类似的选项。因为文档说明()在相应的.ini文件中使用这些设置-: xdebug.profiler_enable = 0 xdebug.profiler_enable_trigger = 1 然后,不是分析每个请求,而是只分析那些在GET/POST/COOKIE中具有XDEBUG_PROFILE变量的请求

有没有办法限制cachegrind文件(xdebug评测输出)? 我想启用xdebug.profile来调试整个项目(不仅仅是触发器),但如果有人忘记禁用它,我不希望光盘已满


我在中找不到类似的选项。

因为文档说明()在相应的.ini文件中使用这些设置-:

xdebug.profiler_enable = 0 
xdebug.profiler_enable_trigger = 1
然后,不是分析每个请求,而是只分析那些在GET/POST/COOKIE中具有XDEBUG_PROFILE变量的请求

如果您不想使用触发器方法,那么我想您需要一个cron作业(或类似作业)来频繁清理/tmp(或xdebug.profiler\u output\u dir设置为的任何内容)