boris@boris-desk:/opt/intel/oneapi/vtune/2025.0/sepdk/src$ sudo ./build-driver -ni C compiler version: 13.3.0 Make version: 4.3 Kernel version: 6.8.0-52-generic Cleaning workspaces ... Done Building socperf driver ... warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 You are using: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 Skipping BTF generation for /opt/intel/oneapi/vtune/2025.0/sepdk/src/socperf/src/socperf3.ko due to unavailability of vmlinux Done Building sep driver ... warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 You are using: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x35: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x36: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x37: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x3b: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x40: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x45: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x4a: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x4f: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x54: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x59: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x5e: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x63: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x68: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x6c: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x71: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x76: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x7b: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x80: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x85: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x8a: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x8c: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x8e: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x90: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x92: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x95: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x9a: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0x9d: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0xa2: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0xa3: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0xa5: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0xa7: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0xaa: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0xae: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0xb3: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0xb8: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0xbd: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0xc2: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0xc7: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0xcc: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0xd1: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0xd6: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0xdb: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0xe0: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0xe5: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0xea: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0xef: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0xf4: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0xf8: unreachable instruction /opt/intel/oneapi/vtune/2025.0/sepdk/src/sys64.o: warning: objtool: .text+0xf9: unreachable instruction Skipping BTF generation for /opt/intel/oneapi/vtune/2025.0/sepdk/src/sep5.ko due to unavailability of vmlinux Done Building pax driver ... warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 You are using: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 Skipping BTF generation for /opt/intel/oneapi/vtune/2025.0/sepdk/src/pax/pax.ko due to unavailability of vmlinux Done Building vtsspp driver ... make[1]: Entering directory '/opt/intel/oneapi/vtune/2025.0/sepdk/src/vtsspp' warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 You are using: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 Skipping BTF generation for /opt/intel/oneapi/vtune/2025.0/sepdk/src/vtsspp/vtsspp.ko due to unavailability of vmlinux make[1]: Leaving directory '/opt/intel/oneapi/vtune/2025.0/sepdk/src/vtsspp' Done Building socwatch driver ... Building drivers for Linux target /lib/modules/6.8.0-52-generic/build will be used as the kernel build directory Using alternate compiler '/bin/gcc' Removing previously built driver and scripts from /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/drivers mkdir: cannot create directory ‘/opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/drivers’: File exists '-c /bin/gcc -l -k /lib/modules/6.8.0-52-generic/build' options will be used to build the SoCWatch driver -c /bin/gcc -l -k /lib/modules/6.8.0-52-generic/build ************ Building socwatch2_15-x32_64-6.8.0-52-genericsmp.ko driver ************ Using C compiler = /bin/gcc Using kernel build dir = /lib/modules/6.8.0-52-generic/build No module symvers file found Using common inc dir = /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/../common/include "/lib/modules/6.8.0-52-generic/build/include/linux/cpufreq.h" exists! "/lib/modules/6.8.0-52-generic/build/include/linux/device/class.h" exists! Using file name sw_driver Make args = KERNEL_SRC_DIR=/lib/modules/6.8.0-52-generic/build CPUFREQ_FIX_BACKPORTED=1 CLASSCREATE_CHANGE_BACKPORTED=1 DO_DEBUG_BUILD=0 DO_PROFILING=0 COMMON_INC_DIR=/opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/../common/include MODULE_SYMVERS_FILE= FILE_NAME=sw_driver make[1]: Entering directory '/opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver' make -C /lib/modules/6.8.0-52-generic/build M=/opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver clean make[2]: Entering directory '/usr/src/linux-headers-6.8.0-52-generic' CLEAN /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/Module.symvers make[2]: Leaving directory '/usr/src/linux-headers-6.8.0-52-generic' make[1]: Leaving directory '/opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver' Using C compiler = /bin/gcc Using kernel build dir = /lib/modules/6.8.0-52-generic/build No module symvers file found Using common inc dir = /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/../common/include "/lib/modules/6.8.0-52-generic/build/include/linux/cpufreq.h" exists! "/lib/modules/6.8.0-52-generic/build/include/linux/device/class.h" exists! Using file name sw_driver Make args = KERNEL_SRC_DIR=/lib/modules/6.8.0-52-generic/build CPUFREQ_FIX_BACKPORTED=1 CLASSCREATE_CHANGE_BACKPORTED=1 DO_DEBUG_BUILD=0 DO_PROFILING=0 COMMON_INC_DIR=/opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/../common/include MODULE_SYMVERS_FILE= FILE_NAME=sw_driver make[1]: Entering directory '/opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver' make -C /lib/modules/6.8.0-52-generic/build M=/opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver clean make[2]: Entering directory '/usr/src/linux-headers-6.8.0-52-generic' make[2]: Leaving directory '/usr/src/linux-headers-6.8.0-52-generic' ************************************************************ KERNEL_SRC_DIR=/lib/modules/6.8.0-52-generic/build CPUFREQ_FIX_BACKPORTED=1 CLASSCREATE_CHANGE_BACKPORTED=1 MODULE_SYMVERS_FILE= DO_DRIVER_PROFILING=0 INCDIR_1=/opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/../common/include ************************************************************ make -C /lib/modules/6.8.0-52-generic/build M=/opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver modules PWD=/opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver make[2]: Entering directory '/usr/src/linux-headers-6.8.0-52-generic' warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 You are using: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 CC [M] /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/./src/sw_driver.o CC [M] /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/./src/sw_hardware_io.o CC [M] /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/./src/sw_output_buffer.o CC [M] /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/./src/sw_tracepoint_handlers.o CC [M] /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/./src/sw_collector.o CC [M] /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/./src/sw_mem.o CC [M] /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/./src/sw_internal.o CC [M] /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/./src/sw_file_ops.o CC [M] /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/./src/sw_ops_provider.o CC [M] /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/./src/sw_trace_notifier_provider.o CC [M] /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/./src/sw_reader.o CC [M] /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/./src/sw_telem.o CC [M] /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/./src/sw_pmt.o CC [M] /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/./src/sw_counter_list.o CC [M] /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/./src/sw_pci.o LD [M] /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/socwatch2_15.o MODPOST /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/Module.symvers CC [M] /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/socwatch2_15.mod.o LD [M] /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/socwatch2_15.ko BTF [M] /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/socwatch2_15.ko Skipping BTF generation for /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver/socwatch2_15.ko due to unavailability of vmlinux make[2]: Leaving directory '/usr/src/linux-headers-6.8.0-52-generic' make[1]: Leaving directory '/opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/socwatch_driver' ************ Built drivers are copied to /opt/intel/oneapi/vtune/2025.0/sepdk/src/socwatch/drivers directory ************ Done Done building the drivers boris@boris-desk:/opt/intel/oneapi/vtune/2025.0/sepdk/src$ sudo ./insmod-sep -r PYTHON is set to python3 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. Detecting Secure Boot status... Secure Boot is disabled --------------------- Loading PAX driver --------------------- Detecting Secure Boot status... Secure Boot is disabled Checking for PMU arbitration service (PAX) ... not detected. Attempting to start PAX service ... Executing: insmod ./pax/pax-x32_64-6.8.0-52-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 --------------------- Detecting Secure Boot status... Secure Boot is disabled Checking for socperf driver ... not detected. Attempting to start socperf service ... Executing: insmod ./socperf/src/socperf3-x32_64-6.8.0-52-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-6.8.0-52-genericsmp.ko sym_lookup_func_addr="ffffffff82a2ae90" 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-6.8.0-52-genericsmp.ko gid=1001 mode=0660 ksyms="ffffffff82a2ae90" The vtsspp driver has been successfully loaded. --------------------- Loading SOCWATCH driver --------------------- Checking for socwatch driver ... not detected. Executing: insmod ./socwatch/drivers/socwatch2_15-x32_64-6.8.0-52-genericsmp.ko Setting group ownership of device file to group "vtune" ... done. Setting file permissions of device file to "660" ... done. The socwatch2_15-x32_64-6.8.0-52-genericsmp driver has been successfully loaded. NOTE: The driver is accessible only to users under the group 'vtune'. Please add the users to the group 'vtune' to use the tool. To change driver access group, reinstall the driver using -g option. NOTE: The driver is accessible only to users under the group vtune. Please add the users to the group vtune to use the tool. To change driver access group, reload the driver using -g option. boris@boris-desk:/opt/intel/oneapi/vtune/2025.0/sepdk/src$ ./insmod-sep -q pax driver is loaded and owned by group "vtune" with file permissions "660". socperf3 driver is not correctly loaded. sep5 driver is not correctly loaded. socwatch2_15 driver is loaded and owned by group "vtune" with file permissions "660". vtsspp driver is loaded and owned by group "vtune" with file permissions "660".