Hi ,
In generall Agent does not capture lines of code where execution time is less than 10 ms. This is done to keep the impact to minimum while sampling.
That could very well be the case in your environment.
Let us know if you have any further questions.
Thanks,
Raunak