Report the amount of AnonHugePages in smap, in bytes. If the return * value of the function is non-zero, the process is being targeted by * THP support, and is likely to have memory usage / latency issues. */
| 96 | * value of the function is non-zero, the process is being targeted by |
| 97 | * THP support, and is likely to have memory usage / latency issues. */ |
| 98 | int THPGetAnonHugePagesSize(void) { |
| 99 | return zmalloc_get_smap_bytes_by_field("AnonHugePages:",-1); |
| 100 | } |
| 101 | |
| 102 | /* ---------------------------- Latency API --------------------------------- */ |
| 103 |
no test coverage detected