The ECU is quite likely the same in the Ducati, but having the same ECU means diddley-squat. The engines are different, the way they breathe is different, the maps are different. You can't compare apples with oranges.
As far as resetting the trims, it will take a while for the ECU to trim itself to its happy place. Several hundred kilometres actually. Keep in mind the the map is designed for the stock exhaust, so you may or may not be happy with the end result of the trimmed GPR pipe. It's a wait-and-see thing. It's your decision of course, but IMNSHO, putting both the K&N and the GPR would be a bad thing. Just swap out the pipe.
.
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
..[You must be registered and logged in to see this image.].In GRiSO we trust!
.