WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: intel-oneapi-common-licensing-2022.0.1 intel-oneapi-common-licensing-2022.1.0 intel-oneapi-common-vars intel-oneapi-vtune-eclipse-plugin-vtune The following NEW packages will be installed: intel-oneapi-common-licensing-2022.0.1 intel-oneapi-common-licensing-2022.1.0 intel-oneapi-common-vars intel-oneapi-vtune intel-oneapi-vtune-eclipse-plugin-vtune 0 upgraded, 5 newly installed, 0 to remove and 13 not upgraded. Need to get 502 MB/502 MB of archives. After this operation, 1,482 MB of additional disk space will be used. Get:1 https://apt.repos.intel.com/oneapi all/main amd64 intel-oneapi-vtune amd64 2022.3.0-195 [502 MB] Fetched 224 MB in 23s (9,575 kB/s) Selecting previously unselected package intel-oneapi-common-licensing-2022.0.1. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 382930 files and directories currently installed.) Preparing to unpack .../intel-oneapi-common-licensing-2022.0.1_2022.0.1-140_all.deb ... Unpacking intel-oneapi-common-licensing-2022.0.1 (2022.0.1-140) ... Selecting previously unselected package intel-oneapi-common-licensing-2022.1.0. Preparing to unpack .../intel-oneapi-common-licensing-2022.1.0_2022.1.0-161_all.deb ... Unpacking intel-oneapi-common-licensing-2022.1.0 (2022.1.0-161) ... Selecting previously unselected package intel-oneapi-common-vars. Preparing to unpack .../intel-oneapi-common-vars_2022.1.0-161_all.deb ... Unpacking intel-oneapi-common-vars (2022.1.0-161) ... Selecting previously unselected package intel-oneapi-vtune-eclipse-plugin-vtune. Preparing to unpack .../intel-oneapi-vtune-eclipse-plugin-vtune_2022.3.0-195_all.deb ... Unpacking intel-oneapi-vtune-eclipse-plugin-vtune (2022.3.0-195) ... Selecting previously unselected package intel-oneapi-vtune. Preparing to unpack .../intel-oneapi-vtune_2022.3.0-195_amd64.deb ... Unpacking intel-oneapi-vtune (2022.3.0-195) ... Setting up intel-oneapi-common-licensing-2022.1.0 (2022.1.0-161) ... Setting up intel-oneapi-common-licensing-2022.0.1 (2022.0.1-140) ... Setting up intel-oneapi-vtune-eclipse-plugin-vtune (2022.3.0-195) ... Setting up intel-oneapi-common-vars (2022.1.0-161) ... Setting up intel-oneapi-vtune (2022.3.0-195) ... C compiler version: 7.5.0 Make version: 4.1 Kernel version: 5.4.0-117-generic Cleaning workspaces ... Done Building socperf driver ... Done Building sep driver ... Done Building pax driver ... Done Building vtsspp driver ... make[1]: Entering directory '/opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp' make[2]: Entering directory '/usr/src/linux-headers-5.4.0-117-generic' TEST VTSS_AUTOCONF_ACCESS_OK_TWO_ARGS=yes TEST VTSS_AUTOCONF_CPULIST_SCNPRINTF=no TEST VTSS_AUTOCONF_CURRENT_KUID_KGID=yes TEST VTSS_AUTOCONF_DUMP_TRACE_HAVE_BP=no TEST VTSS_AUTOCONF_FLUSH_TLB_INFO=yes TEST VTSS_AUTOCONF_FOR_EACH_KERNEL_TRACEPOINT=yes TEST VTSS_AUTOCONF_HLIST_NODE_ITER=no TEST VTSS_AUTOCONF_INLINE_COPY_FROM_USER=no TEST VTSS_AUTOCONF_JPROBE=no TEST VTSS_AUTOCONF_KAISER=no TEST VTSS_AUTOCONF_KERNEL_HEADERS=yes TEST VTSS_AUTOCONF_KERNEL_READ_WRITE=yes TEST VTSS_AUTOCONF_KMAP_ATOMIC_ONE_ARG=yes TEST VTSS_AUTOCONF_KRETPROBE_INSTANCE_TASK_ARG=yes TEST VTSS_AUTOCONF_KTIME_EQUAL=no TEST VTSS_AUTOCONF_KTIME_GET_TS64=yes TEST VTSS_AUTOCONF_MMAP_LOCK=no TEST VTSS_AUTOCONF_MODULE_CORE_LAYOUT=yes TEST VTSS_AUTOCONF_MODULE_MUTEX=yes TEST VTSS_AUTOCONF_NMI_UACCESS=yes TEST VTSS_AUTOCONF_PREEMPT_NOTIFIER_CONTROL=yes TEST VTSS_AUTOCONF_PROCFS_OPS=no TEST VTSS_AUTOCONF_PROCFS_OWNER=no TEST VTSS_AUTOCONF_PROCFS_SET_USER=yes TEST VTSS_AUTOCONF_PROCFS_SUBTREE=yes TEST VTSS_AUTOCONF_SET_FS=yes TEST VTSS_AUTOCONF_SI_MEM_AVAILABLE=yes TEST VTSS_AUTOCONF_STACKTRACE_OPS=no TEST VTSS_AUTOCONF_STACKTRACE_OPS_ADDRESS_INT=no TEST VTSS_AUTOCONF_STACKTRACE_OPS_WALK_STACK=no TEST VTSS_AUTOCONF_STACKTRACE_OPS_WALK_STACK_TASK_ARG=no TEST VTSS_AUTOCONF_STACKTRACE_OPS_WARNING=no TEST VTSS_AUTOCONF_SYSTEM_UNBOUND_WQ=yes TEST VTSS_AUTOCONF_TASK_STRUCT_HIDDEN_STATE=no TEST VTSS_AUTOCONF_TIMER_SETUP=yes TEST VTSS_AUTOCONF_TRACE_SCHED_SWITCH_NO_ARG=no TEST VTSS_AUTOCONF_TRACE_SCHED_SWITCH_PREEMPT_ARG=yes TEST VTSS_AUTOCONF_TRACE_SCHED_SWITCH_RQ_ARG=no TEST VTSS_AUTOCONF_TRACEPOINT_PROBE=yes TEST VTSS_AUTOCONF_USER_MODE_VM=no TEST VTSS_AUTOCONF_VSYSCALL_ADDR=yes TEST VTSS_AUTOCONF_X86_UNIREGS=yes CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/cmd.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/dsa.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/ipt.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/kmem.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/kpti.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/ksyms.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/lbr.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/mmap.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/modcfg.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/module.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/nmiwd.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/pcb.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/pebs.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/pmi.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/pmu.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/probe.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/procfs.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/record.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/sched.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/stack.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/target.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/task.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/task_map.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/task_vm.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/transport.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/unwind.o LD [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/vtsspp.o Building modules, stage 2. MODPOST 1 modules CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/vtsspp.mod.o LD [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp/vtsspp.ko make[2]: Leaving directory '/usr/src/linux-headers-5.4.0-117-generic' cp -f vtsspp.ko vtsspp-x32_64-5.4.0-117-genericsmp.ko make[1]: Leaving directory '/opt/intel/oneapi/vtune/2022.3.0/sepdk/src/vtsspp' Done Building socwatch driver ... Building drivers for Linux target -n switch is deprecated. Now it does not have any effect. /lib/modules/5.4.0-117-generic/build will be used as the kernel build directory Removing previously built driver and scripts from /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/drivers mkdir: cannot create directory ‘/opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/drivers’: File exists -c /usr/bin//gcc -l -k /lib/modules/5.4.0-117-generic/build will be used to build the SoCWatch driver -c /usr/bin//gcc -l -k /lib/modules/5.4.0-117-generic/build ************ Building socwatch2_15.ko driver ************ Using C compiler = /usr/bin//gcc Using kernel build dir = /lib/modules/5.4.0-117-generic/build No module symvers file found Using common inc dir = /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/../common/include "/lib/modules/5.4.0-117-generic/build/include/linux/cpufreq.h" exists! Using file name sw_driver Make args = KERNEL_SRC_DIR=/lib/modules/5.4.0-117-generic/build CPUFREQ_FIX_BACKPORTED=1 DO_DEBUG_BUILD=0 DO_PROFILING=0 COMMON_INC_DIR=/opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/../common/include MODULE_SYMVERS_FILE= FILE_NAME=sw_driver make[1]: Entering directory '/opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver' make -C /lib/modules/5.4.0-117-generic/build M=/opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver clean make[2]: Entering directory '/usr/src/linux-headers-5.4.0-117-generic' CLEAN /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/Module.symvers make[2]: Leaving directory '/usr/src/linux-headers-5.4.0-117-generic' make[1]: Leaving directory '/opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver' Using C compiler = /usr/bin//gcc Using kernel build dir = /lib/modules/5.4.0-117-generic/build No module symvers file found Using common inc dir = /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/../common/include "/lib/modules/5.4.0-117-generic/build/include/linux/cpufreq.h" exists! Using file name sw_driver Make args = KERNEL_SRC_DIR=/lib/modules/5.4.0-117-generic/build CPUFREQ_FIX_BACKPORTED=1 DO_DEBUG_BUILD=0 DO_PROFILING=0 COMMON_INC_DIR=/opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/../common/include MODULE_SYMVERS_FILE= FILE_NAME=sw_driver make[1]: Entering directory '/opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver' make -C /lib/modules/5.4.0-117-generic/build M=/opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver clean make[2]: Entering directory '/usr/src/linux-headers-5.4.0-117-generic' make[2]: Leaving directory '/usr/src/linux-headers-5.4.0-117-generic' ************************************************************ KERNEL_SRC_DIR=/lib/modules/5.4.0-117-generic/build CPUFREQ_FIX_BACKPORTED=1 DO_SOCPERF=0 MODULE_SYMVERS_FILE= DO_DRIVER_PROFILING=0 INCDIR_1=/opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/../common/include ************************************************************ make -C /lib/modules/5.4.0-117-generic/build M=/opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver modules PWD=/opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver make[2]: Entering directory '/usr/src/linux-headers-5.4.0-117-generic' CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/./src/sw_driver.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/./src/sw_hardware_io.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/./src/sw_output_buffer.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/./src/sw_tracepoint_handlers.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/./src/sw_collector.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/./src/sw_mem.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/./src/sw_internal.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/./src/sw_file_ops.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/./src/sw_ops_provider.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/./src/sw_trace_notifier_provider.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/./src/sw_reader.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/./src/sw_telem.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/./src/sw_pmt.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/./src/sw_counter_list.o CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/./src/sw_pci.o LD [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/socwatch2_15.o Building modules, stage 2. MODPOST 1 modules CC [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/socwatch2_15.mod.o LD [M] /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver/socwatch2_15.ko make[2]: Leaving directory '/usr/src/linux-headers-5.4.0-117-generic' make[1]: Leaving directory '/opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/socwatch_driver' ************ Built drivers are copied to /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/socwatch/drivers directory ************ Done Done building the drivers Warning: the following driver(s) were not found loaded in the kernel: sep5. Warning: no vtsspp driver was found loaded in the kernel. Warning: no socwatch driver was found loaded in the kernel. Warning: the following driver(s) were not found loaded in the kernel: socperf3. The PAX service is not loaded anymore. PYTHON is set to python --------------------- Loading PAX driver --------------------- Checking for PMU arbitration service (PAX) ... not detected. Attempting to start PAX service ... Executing: insmod ./pax/pax-x32_64-5.4.0-117-genericsmp.ko Setting group ownership of devices to group "vtune" ... done. Setting file permissions on devices to "660" ... done. The pax driver has been successfully loaded. --------------------- Loading SOCPERF driver --------------------- Checking for socperf driver ... not detected. Attempting to start socperf service ... Executing: insmod ./socperf/src/socperf3-x32_64-5.4.0-117-genericsmp.ko Setting group ownership of devices to group "vtune" ... done. Setting file permissions on devices to "660" ... done. The socperf3 driver has been successfully loaded. --------------------- Loading SEP driver --------------------- Executing: insmod ./sep5-x32_64-5.4.0-117-genericsmp.ko Setting group ownership of devices to group "vtune" ... done. Setting file permissions on devices to "660" ... done. The sep5 driver has been successfully loaded. --------------------- Loading VTSSPP driver --------------------- Checking for vtsspp driver ... not detected. Executing: insmod ./vtsspp/vtsspp-x32_64-5.4.0-117-genericsmp.ko gid=1001 mode=0660 ksyms="ffffffff92155a10" The vtsspp driver has been successfully loaded. --------------------- Loading SOCWATCH driver --------------------- Checking for socwatch driver ... not detected. ./socwatch/insmod-socwatch: 312: [: ./socwatch/drivers/socwatch2_15-x32_64-5.4.0-113-genericsmp.ko: unexpected operator Executing: insmod ./socwatch/drivers/socwatch2_15-x32_64-5.4.0-113-genericsmp.ko socwatch2_15-x32_64-5.4.0-117-genericsmp.ko insmod: ERROR: could not insert module ./socwatch/drivers/socwatch2_15-x32_64-5.4.0-113-genericsmp.ko: Invalid parameters Error: socwatch driver failed to load! You may need to build socwatch driver for your kernel. Please see the socwatch driver README for instructions. Configuring sep5 boot script with the following options: driver files = /opt/intel/oneapi/vtune/2022.3.0/sepdk/src/. Creating systemd load script /usr/local/sbin/sep5-load.sh ... done. Creating systemd boot config file /lib/systemd/system/sep5.service ... done. Configuring autoload of sep5.service service ... Created symlink /etc/systemd/system/multi-user.target.wants/sep5.service → /lib/systemd/system/sep5.service. Job for sep5.service failed because the control process exited with error code. See "systemctl status sep5.service" and "journalctl -xe" for details. WARNING: systemctl start returned error 1 ... done.