Hi Joel, Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master] [also build test ERROR on v4.16-rc5 next-20180316] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Joel-Fernandes/Improve-preemptirq-tracepoint-usage/20180317-155535 config: arm-moxart_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm All errors (new ones prefixed by >>): arch/arm/kernel/entry-common.o: In function `no_work_pending': >> (.entry.text+0x64): undefined reference to `trace_hardirqs_on' arch/arm/kernel/entry-common.o: In function `vector_swi': (.entry.text+0xf8): undefined reference to `trace_hardirqs_on' arch/arm/kernel/entry-armv.o: In function `__dabt_svc': >> (.entry.text+0xa4): undefined reference to `trace_hardirqs_off' (.entry.text+0xb8): undefined reference to `trace_hardirqs_on' (.entry.text+0xc0): undefined reference to `trace_hardirqs_off' arch/arm/kernel/entry-armv.o: In function `__irq_svc': (.entry.text+0x12c): undefined reference to `trace_hardirqs_off' (.entry.text+0x158): undefined reference to `trace_hardirqs_on' arch/arm/kernel/entry-armv.o: In function `__und_svc': (.entry.text+0x1ec): undefined reference to `trace_hardirqs_off' arch/arm/kernel/entry-armv.o: In function `__und_svc_finish': (.entry.text+0x220): undefined reference to `trace_hardirqs_on' (.entry.text+0x228): undefined reference to `trace_hardirqs_off' arch/arm/kernel/entry-armv.o: In function `__pabt_svc': (.entry.text+0x2ac): undefined reference to `trace_hardirqs_off' (.entry.text+0x2c0): undefined reference to `trace_hardirqs_on' (.entry.text+0x2c8): undefined reference to `trace_hardirqs_off' arch/arm/kernel/entry-armv.o: In function `__dabt_usr': (.entry.text+0x4b4): undefined reference to `trace_hardirqs_off' arch/arm/kernel/entry-armv.o: In function `__irq_usr': (.entry.text+0x51c): undefined reference to `trace_hardirqs_off' arch/arm/kernel/entry-armv.o: In function `__und_usr': (.entry.text+0x594): undefined reference to `trace_hardirqs_off' (.entry.text+0x5a8): undefined reference to `trace_hardirqs_on' arch/arm/kernel/entry-armv.o: In function `__pabt_usr': (.entry.text+0x6bc): undefined reference to `trace_hardirqs_off' kernel/softirq.o: In function `tasklet_hi_action': >> softirq.c:(.text+0x144): undefined reference to `trace_hardirqs_off' >> softirq.c:(.text+0x154): undefined reference to `trace_hardirqs_on' softirq.c:(.text+0x1cc): undefined reference to `trace_hardirqs_off' softirq.c:(.text+0x1ec): undefined reference to `trace_hardirqs_on' kernel/softirq.o: In function `tasklet_action': softirq.c:(.text+0x228): undefined reference to `trace_hardirqs_off' softirq.c:(.text+0x240): undefined reference to `trace_hardirqs_on' softirq.c:(.text+0x2b8): undefined reference to `trace_hardirqs_off' softirq.c:(.text+0x2d8): undefined reference to `trace_hardirqs_on' kernel/softirq.o: In function `run_ksoftirqd': softirq.c:(.text+0x40c): undefined reference to `trace_hardirqs_off' softirq.c:(.text+0x420): undefined reference to `trace_hardirqs_on' softirq.c:(.text+0x438): undefined reference to `trace_hardirqs_on' kernel/softirq.o: In function `do_softirq.part.2': softirq.c:(.text+0x460): undefined reference to `trace_hardirqs_off' softirq.c:(.text+0x498): undefined reference to `trace_hardirqs_on' softirq.c:(.text+0x4b8): undefined reference to `trace_hardirqs_off' kernel/softirq.o: In function `__local_bh_enable_ip': softirq.c:(.text+0x520): undefined reference to `trace_hardirqs_off' softirq.c:(.text+0x56c): undefined reference to `trace_hardirqs_on' kernel/softirq.o: In function `raise_softirq': softirq.c:(.text+0x91c): undefined reference to `trace_hardirqs_off' softirq.c:(.text+0x96c): undefined reference to `trace_hardirqs_on' softirq.c:(.text+0x980): undefined reference to `trace_hardirqs_off' kernel/softirq.o: In function `__tasklet_schedule': softirq.c:(.text+0x9bc): undefined reference to `trace_hardirqs_off' softirq.c:(.text+0xa28): undefined reference to `trace_hardirqs_on' softirq.c:(.text+0xa3c): undefined reference to `trace_hardirqs_off' kernel/softirq.o: In function `__tasklet_hi_schedule': softirq.c:(.text+0xa68): undefined reference to `trace_hardirqs_off' softirq.c:(.text+0xad4): undefined reference to `trace_hardirqs_on' softirq.c:(.text+0xae8): undefined reference to `trace_hardirqs_off' kernel/softirq.o: In function `__do_softirq': >> softirq.c:(.softirqentry.text+0x94): undefined reference to >> `trace_hardirqs_on' >> softirq.c:(.softirqentry.text+0x16c): undefined reference to >> `trace_hardirqs_off' init/main.o: In function `start_kernel': >> main.c:(.init.text+0x670): undefined reference to `trace_hardirqs_off' main.c:(.init.text+0x884): undefined reference to `trace_hardirqs_off' >> main.c:(.init.text+0x8dc): undefined reference to `trace_hardirqs_on' init/main.o: In function `do_one_initcall': main.c:(.init.text+0xb04): undefined reference to `trace_hardirqs_on' arch/arm/kernel/process.o: In function `arch_cpu_idle': >> process.c:(.text+0x40): undefined reference to `trace_hardirqs_on' arch/arm/kernel/reboot.o: In function `machine_halt': >> reboot.c:(.text+0xa4): undefined reference to `trace_hardirqs_off' arch/arm/kernel/reboot.o: In function `machine_power_off': reboot.c:(.text+0xbc): undefined reference to `trace_hardirqs_off' arch/arm/kernel/reboot.o: In function `machine_restart': reboot.c:(.text+0xf0): undefined reference to `trace_hardirqs_off' arch/arm/kernel/signal.o: In function `do_work_pending': >> signal.c:(.text+0x125c): undefined reference to `trace_hardirqs_off' signal.c:(.text+0x1274): undefined reference to `trace_hardirqs_off' >> signal.c:(.text+0x12a0): undefined reference to `trace_hardirqs_on' arch/arm/kernel/traps.o: In function `bad_mode': >> traps.c:(.text+0xa5c): undefined reference to `trace_hardirqs_off' arch/arm/kernel/kgdb.o: In function `kgdb_notify': >> kgdb.c:(.text+0x68): undefined reference to `trace_hardirqs_off' >> kgdb.c:(.text+0x94): undefined reference to `trace_hardirqs_on' kgdb.c:(.text+0xa8): undefined reference to `trace_hardirqs_off' arch/arm/kernel/kgdb.o: In function `kgdb_roundup_cpus': kgdb.c:(.text+0x298): undefined reference to `trace_hardirqs_on' kgdb.c:(.text+0x2b8): undefined reference to `trace_hardirqs_off' arch/arm/kernel/patch.o: In function `patch_text': >> patch.c:(.text+0x40): undefined reference to `trace_hardirqs_off' >> patch.c:(.text+0x5c): undefined reference to `trace_hardirqs_on' patch.c:(.text+0x70): undefined reference to `trace_hardirqs_off' arch/arm/mm/fault.o: In function `do_page_fault': >> fault.c:(.text+0x2f0): undefined reference to `trace_hardirqs_on' arch/arm/mm/fault-armv.o: In function `check_writebuffer_bugs': >> fault-armv.c:(.init.text+0x9c): undefined reference to `trace_hardirqs_off' >> fault-armv.c:(.init.text+0xc4): undefined reference to `trace_hardirqs_on' arch/arm/mm/alignment.o: In function `do_alignment': --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip