objdiff usage

bojan prtvar prtvar.b at gmail.com
Wed Dec 2 05:56:03 EST 2015


On Wed, Dec 2, 2015 at 11:39 AM, Bogicevic Sasa <brutallesale at gmail.com> wrote:
> Well, when I pull staging tree and go to drivers/pci/hotplug I get c and
> h files. Am I supposed to first compile the kernel make changes and
> compile again to be anle to compare ?



Something like that. Take a look to the script itself, the usage
example should be quite clear

+# usage example:
+#
+# $ git checkout COMMIT_A
+# $ <your fancy build command here>
+# $ ./scripts/objdiff record path/to/*.o
+#
+# $ git checkout COMMIT_B
+# $ <your fancy build command here>
+# $ ./scripts/objdiff record path/to/*.o
+#
+# $ ./scripts/objdiff diff COMMIT_A COMMIT_B
+# $

Regards,
Bojan



More information about the Kernelnewbies mailing list