# ./build-driver Options in brackets "[ ... ]" indicate default values that will be used when only the ENTER key is pressed. C compiler to use: [ /bin/gcc ] Make command to use: [ /bin/make ] Kernel source directory: [ /lib/modules/5.4.0-0.bpo.2-amd64/build ] rm -f *.o .*.o.cmd .*.o.d .*.ko.cmd .*.ko.unsigned.cmd *.gcno .cache.mk *.o.ur-safe .*.o.tmp rm -f sep5.ko sep5.ko.unsigned rm -f sep5*x32_64-5.4.0-0.bpo.2-amd64smp.ko rm -f Module.symvers Modules.symvers *.mod.c modules.order Module.markers rm -rf .tmp_versions make[1]: Entering directory '/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/pax' rm -f *.o .*.o.cmd .*.o.d .*.ko.cmd .*.ko.unsigned.cmd *.gcno .cache.mk *.o.ur-safe .*.o.tmp rm -f pax.ko pax.ko.unsigned pax-x32_64-5.4.0-0.bpo.2-amd64smp.ko rm -f Module.symvers Modules.symvers *.mod.c modules.order Module.markers rm -rf .tmp_versions make[1]: Leaving directory '/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/pax' make[1]: Entering directory '/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socperf/src' rm -f *.o .*.o.cmd .*.o.d .*.ko.cmd .*.ko.unsigned.cmd *.gcno .cache.mk *.o.ur-safe .*.o.tmp rm -f socperf3.ko socperf3.ko.unsigned rm -f socperf3*x32_64-5.4.0-0.bpo.2-amd64smp.ko rm -f Module.symvers Modules.symvers *.mod.c modules.order Module.markers rm -rf .tmp_versions make[1]: Leaving directory '/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socperf/src' make[1]: Entering directory '/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp' rm -rf .tmp_versions rm -f *.o .*.o.cmd .*.o.d .*.ko.cmd .*.ko.unsigned.cmd *.gcno rm -f Module.symvers Modules.symvers modules.order Module.markers rm -f *.mod.c *.mod .*.mod.cmd .cache.mk *.o.ur-safe rm -f autoconf.h autoconf.log rm -f vtsspp.ko vtsspp.ko.unsigned vtsspp-x32_64-5.4.0-0.bpo.2-amd64smp.ko make[1]: Leaving directory '/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp' make[1]: Entering directory '/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socperf/src' /bin/make -C /lib/modules/5.4.0-0.bpo.2-amd64/build M=/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socperf/src LDDINCDIR=/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socperf/src/../include LDDINCDIR1=/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socperf/src/inc modules PWD=/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socperf/src -j4 make[2]: Entering directory '/usr/src/linux-headers-5.4.0-0.bpo.2-amd64' CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socperf/src/socperfdrv.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socperf/src/control.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socperf/src/utility.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socperf/src/pmu_list.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socperf/src/pci.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socperf/src/soc_uncore.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socperf/src/haswellunc_sa.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socperf/src/npk_uncore.o LD [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socperf/src/socperf3.o Building modules, stage 2. MODPOST 1 modules CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socperf/src/socperf3.mod.o LD [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socperf/src/socperf3.ko make[2]: Leaving directory '/usr/src/linux-headers-5.4.0-0.bpo.2-amd64' cp socperf3.ko socperf3-x32_64-5.4.0-0.bpo.2-amd64smp.ko make[1]: Leaving directory '/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socperf/src' /bin/make -C /lib/modules/5.4.0-0.bpo.2-amd64/build M=/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src LDDINCDIR=/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/../include LDDINCDIR1=/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/inc modules PWD=/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src -j4 make[1]: Entering directory '/usr/src/linux-headers-5.4.0-0.bpo.2-amd64' CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/lwpmudrv.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/control.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/cpumon.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/eventmux.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/linuxos.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/output.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/pmi.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/sys_info.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/utility.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/valleyview_sochap.o /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/utility.c: In function ‘UTILITY_Log’: /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/utility.c:846:79: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] if ((category_verbosity & LOG_CHANNEL_PRINTK) * !in_interrupt * !in_notification) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/unc_power.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/pmu_list.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/pci.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/chap.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/gmch.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/gfx.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/unc_sa.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/core2.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/perfver4.o AS [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/sys64.o /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/sys64.o: warning: objtool: .text+0x11: unreachable instruction CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/silvermont.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/apic.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/pebs.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/unc_gt.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/unc_mmio.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/unc_msr.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/unc_common.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/unc_pci.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/sepdrv_p_state.o LD [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/sep5.o Building modules, stage 2. MODPOST 1 modules CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/sep5.mod.o LD [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/sep5.ko make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-0.bpo.2-amd64' cp sep5.ko sep5-x32_64-5.4.0-0.bpo.2-amd64smp.ko make[1]: Entering directory '/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/pax' /bin/make -C /lib/modules/5.4.0-0.bpo.2-amd64/build M=/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/pax LDDINCDIR=/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/pax/../../include LDDINCDIR1=/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/pax/../inc modules PWD=/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/pax -j4 make[2]: Entering directory '/usr/src/linux-headers-5.4.0-0.bpo.2-amd64' CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/pax/pax.o Building modules, stage 2. MODPOST 1 modules CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/pax/pax.mod.o LD [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/pax/pax.ko make[2]: Leaving directory '/usr/src/linux-headers-5.4.0-0.bpo.2-amd64' cp pax.ko pax-x32_64-5.4.0-0.bpo.2-amd64smp.ko make[1]: Leaving directory '/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/pax' make[1]: Entering directory '/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp' make[2]: Entering directory '/usr/src/linux-headers-5.4.0-0.bpo.2-amd64' CHK cpumask_parselist_user... yes CHK dpath_path... yes CHK dump_trace_have_bp... no CHK init_work_two_args... yes CHK jprobe... no CHK kaiser... no CHK kernel_headers... yes CHK kmap_atomic_one_arg... yes CHK kprobe_flags... no CHK kprobe_symbol_name... no CHK module_core_layout... yes CHK module_mutex... yes CHK nmi_uaccess... yes CHK preempt_notifier_control... yes CHK procfs_owner... no CHK smp_call_function_retry... no CHK stacktrace_ops... no CHK stacktrace_ops_walk_stack... no CHK stacktrace_ops_warning... no CHK system_unbound_wq... yes CHK task_real_parent... yes CHK trace_sched_no_rq... no CHK trace_sched_preempt... yes CHK trace_sched_rq... no CHK user_copy_without_check... no CHK walk_stack_task_arg... no CHK x86_uniregs... yes CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/bts.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/cmd.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/cpuevents.o /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/cpuevents.c: In function ‘vtss_cpuevents_restart’: /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/cpuevents.c:490:20: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!mux_flag) { ^ /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/cpuevents.c:495:13: note: here case VTSS_CFGMUX_SEQ: ^~~~ CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/debug.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/dsa.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/globals.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/ipt.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/lbr.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/mmap.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/module.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/mpool.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/nmiwd.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/pebs.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/pmi.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/procfs.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/record.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/sched.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/stack.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/target.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/task_map.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/transport.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/unwind.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/user_vm.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/utils.o LD [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/vtsspp.o Building modules, stage 2. MODPOST 1 modules CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/vtsspp.mod.o LD [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp/vtsspp.ko make[2]: Leaving directory '/usr/src/linux-headers-5.4.0-0.bpo.2-amd64' cp -f vtsspp.ko vtsspp-x32_64-5.4.0-0.bpo.2-amd64smp.ko make[1]: Leaving directory '/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/vtsspp' Building drivers for Linux target /lib/modules/5.4.0-0.bpo.2-amd64/build will be used as the kernel build directory -ni --c-compiler=/bin/gcc --kernel-src-dir=/lib/modules/5.4.0-0.bpo.2-amd64/build ************ Building socperf3.ko driver ************ ERROR: Linux kernels prior to 2.6.x are unsupported ... exiting. ERROR: Failed to build socperf3.ko driver -c /bin/gcc -l -k /lib/modules/5.4.0-0.bpo.2-amd64/build will be used to build the SoCWatch driver -c /bin/gcc -l -k /lib/modules/5.4.0-0.bpo.2-amd64/build ************ Building socwatch2_11.ko driver ************ Using C compiler = /bin/gcc Using kernel build dir = /lib/modules/5.4.0-0.bpo.2-amd64/build No module symvers file found Using common_inc_dir=s Using common inc dir = /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver/../common/include "/lib/modules/5.4.0-0.bpo.2-amd64/build/source/include/trace/events/wakelock.h" does NOT exist! "/lib/modules/5.4.0-0.bpo.2-amd64/build/source/include/linux/pm_wakeup.h" does NOT exist! Using file name sw_driver Make args = KERNEL_SRC_DIR=/lib/modules/5.4.0-0.bpo.2-amd64/build APWR_RED_HAT=0 WAKELOCK_SAMPLE=0 DO_INTEL_INTERNAL=0 DO_DEBUG_BUILD=0 DO_PROFILING=0 COMMON_INC_DIR=/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver/../common/include MODULE_SYMVERS_FILE= FILE_NAME=sw_driver make[1]: Entering directory '/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver' make -C /lib/modules/5.4.0-0.bpo.2-amd64/build M=/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver clean make[2]: Entering directory '/usr/src/linux-headers-5.4.0-0.bpo.2-amd64' CLEAN /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver/Module.symvers make[2]: Leaving directory '/usr/src/linux-headers-5.4.0-0.bpo.2-amd64' make[1]: Leaving directory '/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver' Using C compiler = /bin/gcc Using kernel build dir = /lib/modules/5.4.0-0.bpo.2-amd64/build No module symvers file found Using common_inc_dir=s Using common inc dir = /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver/../common/include "/lib/modules/5.4.0-0.bpo.2-amd64/build/source/include/trace/events/wakelock.h" does NOT exist! "/lib/modules/5.4.0-0.bpo.2-amd64/build/source/include/linux/pm_wakeup.h" does NOT exist! Using file name sw_driver Make args = KERNEL_SRC_DIR=/lib/modules/5.4.0-0.bpo.2-amd64/build APWR_RED_HAT=0 WAKELOCK_SAMPLE=0 DO_INTEL_INTERNAL=0 DO_DEBUG_BUILD=0 DO_PROFILING=0 COMMON_INC_DIR=/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver/../common/include MODULE_SYMVERS_FILE= FILE_NAME=sw_driver make[1]: Entering directory '/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver' make -C /lib/modules/5.4.0-0.bpo.2-amd64/build M=/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver clean make[2]: Entering directory '/usr/src/linux-headers-5.4.0-0.bpo.2-amd64' make[2]: Leaving directory '/usr/src/linux-headers-5.4.0-0.bpo.2-amd64' ************************************************************ KERNEL_SRC_DIR=/lib/modules/5.4.0-0.bpo.2-amd64/build APWR_RED_HAT=0 DO_WAKELOCK_SAMPLE=0 DO_SOCPERF=0 MODULE_SYMVERS_FILE= DO_DRIVER_PROFILING=0 INCDIR_1=/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver/../common/include ************************************************************ make -C /lib/modules/5.4.0-0.bpo.2-amd64/build M=/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver modules PWD=/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver make[2]: Entering directory '/usr/src/linux-headers-5.4.0-0.bpo.2-amd64' CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver/./src/sw_driver.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver/./src/sw_hardware_io.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver/./src/sw_output_buffer.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver/./src/sw_tracepoint_handlers.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver/./src/sw_collector.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver/./src/sw_mem.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver/./src/sw_internal.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver/./src/sw_file_ops.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver/./src/sw_ops_provider.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver/./src/sw_trace_notifier_provider.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver/./src/sw_reader.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver/./src/sw_telem.o CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver/./src/sw_cta.o LD [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver/socwatch2_11.o Building modules, stage 2. MODPOST 1 modules CC [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver/socwatch2_11.mod.o LD [M] /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver/socwatch2_11.ko make[2]: Leaving directory '/usr/src/linux-headers-5.4.0-0.bpo.2-amd64' make[1]: Leaving directory '/opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/socwatch_driver' ****** Errors occurred. Please check /opt/intel/vtune_profiler_2020.0.0.605129/sepdk/src/socwatch/driver_build_errors.txt for errors and the stderr/stdout for more information ******