[php-src] PR #15543: Export `zend_accel_shared_globals`
| From: | realFlowControl | Date: | Thu, 22 Aug 2024 12:07:41 +0000 |
| Subject: | [php-src] PR #15543: Export `zend_accel_shared_globals` | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28123@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15543
Author: realFlowControl
Hey folks 👋
I could not find any other way to access this information from an extension:
https://github.com/php/php-src/blob/35fbb0061d92f41ee028e18ac99b28fffa929e7f/ext/opcache/ZendAccelerator.h#L244-L284
There is a user land function
opcache_get_status() but this does way more, especially
unnecessary things when not using the data in PHP, but in another C/Rust extension.
I'd like to add a bit more observability to the OPcache. IIRC @arnaud-lb is working on OPcache,
is that right?