As for my experience, when I entered USA on visa waiver, I got stamp in the passport and on the custom form. Same happened when I entered with visa. Now, when I travel with green card, they also always stamp my passport at POE (and did the same when enetered twice on Advance Parole). I hear it may be different (no stamp) if you are entering the USA from Canada or Mexico.