[PATCH] Add the '-p4' options when exemplifying the module compilation
nborisov
n.borisov.lkml@gmail.com
Tue Jun 28 00:41:00 GMT 2016
On 27.06.2016 20:14, Josh Stone wrote:
> On 06/27/2016 09:46 AM, Nikolay Borisov wrote:
>> Currently the example command which supposedly should compile the
>> instrumentation module is missing the '-p4' option, meaning that
>> upon running it will compile and run the module. In order to make
>> the command more in sync with what this particular chapter is about,
>> add the -p4 options so that after running the command the user gets
>> to copy the resulting module.
>
> It's implicitly limited to -p4 already when the chosen -r kernel doesn't
> match the locally running kernel. You'll see:
Actually when I ran the command given in the book, the script would
compile and run.
>
> WARNING: kernel release/architecture mismatch with host forces
> last-pass 4.
>
> Making it explicit to avoid the warning is good though. It looks like
> fche already pushed your patch.
>
More information about the Systemtap
mailing list