in reply to nytprof warning

I don't know what it means or how to avoid it, but the Devel::NYTProf POD mentions how you might be able to get more info:
Set trace level to N. 0 is off (the default). Higher values cause more detailed trace output.
I also used the CPAN grep feature to search for your warning, and it comes from the NYTProf.xs file.