[Valgrind-mod] Polling for queries in Callgrind.