“How to Purge Carrier IQ from your iPhone”(PCWorld),
To disable Carrier IQ on iOS 5, iPhone iOS 5 users should select the Settings app, touch “General,” next “About” and then “Diagnostics & Usage” near the bottom of the pane. Touch “Don’t Send” to place a checkmark in that field.