We've done these things, and also a very skilled mechanic also analyzed it.
The knock sensor is something new to me until recently when I put my Bluetooth module on our 2004 TAHOE to analyze a "Check Engine". It reported a problem with the knock sensor, which after I cleared it hasn't returned...