From mboxrd@z Thu Jan 1 00:00:00 1970 From: brutallesale@gmail.com (Bogicevic Sasa) Date: Wed, 2 Dec 2015 12:13:42 +0100 Subject: objdiff usage In-Reply-To: References: <20151202085605.GB3282@gmail.com> <20151202100721.GC3282@gmail.com> <20151202103924.GA9282@gmail.com> Message-ID: <20151202111342.GA13153@gmail.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On 12/02/2015, bojan prtvar wrote: >On Wed, Dec 2, 2015 at 11:39 AM, Bogicevic Sasa 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 >+# $ >+# $ ./scripts/objdiff record path/to/*.o >+# >+# $ git checkout COMMIT_B >+# $ >+# $ ./scripts/objdiff record path/to/*.o >+# >+# $ ./scripts/objdiff diff COMMIT_A COMMIT_B >+# $ > >Regards, >Bojan Ahhh all clear now, thanks a lot! Sasa { name: Sasa Bogicevic phone: +381606006200 }