├── .clang-format ├── .gitattributes ├── .gitignore ├── .gitmodules ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── README.md ├── SECURITY.md ├── deps ├── .gitignore ├── Makefile ├── build.sh ├── flamegraph │ ├── README.md │ ├── docs │ │ └── cddl1.txt │ └── flamegraph.pl └── igc │ ├── .gitignore │ ├── Makefile │ ├── build_igc.sh │ └── iga.diff ├── docs ├── README.bmg.md ├── README.pvc.md └── example_sycl_matmul.png ├── scripts ├── aiflamegraph.sh └── instructions.md ├── security.md └── src ├── Makefile ├── bpf_helpers ├── README.md ├── trace_helpers.c ├── trace_helpers.h ├── uprobe_helpers.c └── uprobe_helpers.h ├── collectors ├── bpf │ ├── bpf │ │ ├── .gitignore │ │ ├── COPYING │ │ ├── LICENSE.BSD-2-Clause │ │ ├── LICENSE.GPL-2.0 │ │ ├── batchbuffer.bpf.c │ │ ├── build.sh │ │ ├── i915 │ │ │ ├── context.bpf.c │ │ │ ├── execbuffer.bpf.c │ │ │ ├── mmap.bpf.c │ │ │ └── vm_bind.bpf.c │ │ ├── main.bpf.c │ │ ├── main.h │ │ ├── uprobe │ │ │ ├── L0_NEO.bpf.c │ │ │ └── vulkan.bpf.c │ │ └── xe │ │ │ ├── context.bpf.c │ │ │ ├── device_query.bpf.c │ │ │ ├── exec.bpf.c │ │ │ ├── mmap.bpf.c │ │ │ └── vm_bind.bpf.c │ ├── bpf_collector.c │ └── bpf_collector.h ├── debug │ ├── debug_collector.c │ └── debug_collector.h ├── eustall │ ├── eustall_collector.c │ └── eustall_collector.h └── oa │ ├── oa_collector.c │ └── oa_collector.h ├── commands ├── flame.c ├── flame.h ├── flamescope.c ├── flamescope.h ├── record.c └── record.h ├── driver_helpers ├── .gitignore ├── i915_helpers.c ├── i915_helpers.h ├── oa_registers.h ├── xe_helpers.c └── xe_helpers.h ├── drm_helpers ├── drm_helpers.c └── drm_helpers.h ├── gpu_parsers ├── bb_parser_defs.h ├── shader_decoder.c └── shader_decoder.h ├── iaprof.c ├── iaprof.h ├── printers ├── debug │ ├── debug_printer.c │ └── debug_printer.h ├── interval │ ├── interval_printer.c │ └── interval_printer.h └── stack │ ├── stack_printer.c │ └── stack_printer.h ├── stores ├── gpu_kernel.c └── gpu_kernel.h └── utils ├── array.c ├── array.h ├── demangle.cpp ├── demangle.h ├── hash_table.h ├── tree.h ├── utils.c └── utils.h /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/.clang-format -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/.gitmodules -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/SECURITY.md -------------------------------------------------------------------------------- /deps/.gitignore: -------------------------------------------------------------------------------- 1 | install 2 | elfutils.log 3 | kernel_headers 4 | -------------------------------------------------------------------------------- /deps/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/deps/Makefile -------------------------------------------------------------------------------- /deps/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/deps/build.sh -------------------------------------------------------------------------------- /deps/flamegraph/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/deps/flamegraph/README.md -------------------------------------------------------------------------------- /deps/flamegraph/docs/cddl1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/deps/flamegraph/docs/cddl1.txt -------------------------------------------------------------------------------- /deps/flamegraph/flamegraph.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/deps/flamegraph/flamegraph.pl -------------------------------------------------------------------------------- /deps/igc/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/deps/igc/.gitignore -------------------------------------------------------------------------------- /deps/igc/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/deps/igc/Makefile -------------------------------------------------------------------------------- /deps/igc/build_igc.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/deps/igc/build_igc.sh -------------------------------------------------------------------------------- /deps/igc/iga.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/deps/igc/iga.diff -------------------------------------------------------------------------------- /docs/README.bmg.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/docs/README.bmg.md -------------------------------------------------------------------------------- /docs/README.pvc.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/docs/README.pvc.md -------------------------------------------------------------------------------- /docs/example_sycl_matmul.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/docs/example_sycl_matmul.png -------------------------------------------------------------------------------- /scripts/aiflamegraph.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/scripts/aiflamegraph.sh -------------------------------------------------------------------------------- /scripts/instructions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/scripts/instructions.md -------------------------------------------------------------------------------- /security.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/security.md -------------------------------------------------------------------------------- /src/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/Makefile -------------------------------------------------------------------------------- /src/bpf_helpers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/bpf_helpers/README.md -------------------------------------------------------------------------------- /src/bpf_helpers/trace_helpers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/bpf_helpers/trace_helpers.c -------------------------------------------------------------------------------- /src/bpf_helpers/trace_helpers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/bpf_helpers/trace_helpers.h -------------------------------------------------------------------------------- /src/bpf_helpers/uprobe_helpers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/bpf_helpers/uprobe_helpers.c -------------------------------------------------------------------------------- /src/bpf_helpers/uprobe_helpers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/bpf_helpers/uprobe_helpers.h -------------------------------------------------------------------------------- /src/collectors/bpf/bpf/.gitignore: -------------------------------------------------------------------------------- 1 | generated_headers 2 | main.skel.h 3 | -------------------------------------------------------------------------------- /src/collectors/bpf/bpf/COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/bpf/bpf/COPYING -------------------------------------------------------------------------------- /src/collectors/bpf/bpf/LICENSE.BSD-2-Clause: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/bpf/bpf/LICENSE.BSD-2-Clause -------------------------------------------------------------------------------- /src/collectors/bpf/bpf/LICENSE.GPL-2.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/bpf/bpf/LICENSE.GPL-2.0 -------------------------------------------------------------------------------- /src/collectors/bpf/bpf/batchbuffer.bpf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/bpf/bpf/batchbuffer.bpf.c -------------------------------------------------------------------------------- /src/collectors/bpf/bpf/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/bpf/bpf/build.sh -------------------------------------------------------------------------------- /src/collectors/bpf/bpf/i915/context.bpf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/bpf/bpf/i915/context.bpf.c -------------------------------------------------------------------------------- /src/collectors/bpf/bpf/i915/execbuffer.bpf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/bpf/bpf/i915/execbuffer.bpf.c -------------------------------------------------------------------------------- /src/collectors/bpf/bpf/i915/mmap.bpf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/bpf/bpf/i915/mmap.bpf.c -------------------------------------------------------------------------------- /src/collectors/bpf/bpf/i915/vm_bind.bpf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/bpf/bpf/i915/vm_bind.bpf.c -------------------------------------------------------------------------------- /src/collectors/bpf/bpf/main.bpf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/bpf/bpf/main.bpf.c -------------------------------------------------------------------------------- /src/collectors/bpf/bpf/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/bpf/bpf/main.h -------------------------------------------------------------------------------- /src/collectors/bpf/bpf/uprobe/L0_NEO.bpf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/bpf/bpf/uprobe/L0_NEO.bpf.c -------------------------------------------------------------------------------- /src/collectors/bpf/bpf/uprobe/vulkan.bpf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/bpf/bpf/uprobe/vulkan.bpf.c -------------------------------------------------------------------------------- /src/collectors/bpf/bpf/xe/context.bpf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/bpf/bpf/xe/context.bpf.c -------------------------------------------------------------------------------- /src/collectors/bpf/bpf/xe/device_query.bpf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/bpf/bpf/xe/device_query.bpf.c -------------------------------------------------------------------------------- /src/collectors/bpf/bpf/xe/exec.bpf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/bpf/bpf/xe/exec.bpf.c -------------------------------------------------------------------------------- /src/collectors/bpf/bpf/xe/mmap.bpf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/bpf/bpf/xe/mmap.bpf.c -------------------------------------------------------------------------------- /src/collectors/bpf/bpf/xe/vm_bind.bpf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/bpf/bpf/xe/vm_bind.bpf.c -------------------------------------------------------------------------------- /src/collectors/bpf/bpf_collector.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/bpf/bpf_collector.c -------------------------------------------------------------------------------- /src/collectors/bpf/bpf_collector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/bpf/bpf_collector.h -------------------------------------------------------------------------------- /src/collectors/debug/debug_collector.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/debug/debug_collector.c -------------------------------------------------------------------------------- /src/collectors/debug/debug_collector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/debug/debug_collector.h -------------------------------------------------------------------------------- /src/collectors/eustall/eustall_collector.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/eustall/eustall_collector.c -------------------------------------------------------------------------------- /src/collectors/eustall/eustall_collector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/eustall/eustall_collector.h -------------------------------------------------------------------------------- /src/collectors/oa/oa_collector.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/oa/oa_collector.c -------------------------------------------------------------------------------- /src/collectors/oa/oa_collector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/collectors/oa/oa_collector.h -------------------------------------------------------------------------------- /src/commands/flame.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/commands/flame.c -------------------------------------------------------------------------------- /src/commands/flame.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/commands/flame.h -------------------------------------------------------------------------------- /src/commands/flamescope.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/commands/flamescope.c -------------------------------------------------------------------------------- /src/commands/flamescope.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/commands/flamescope.h -------------------------------------------------------------------------------- /src/commands/record.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/commands/record.c -------------------------------------------------------------------------------- /src/commands/record.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/commands/record.h -------------------------------------------------------------------------------- /src/driver_helpers/.gitignore: -------------------------------------------------------------------------------- 1 | drm 2 | -------------------------------------------------------------------------------- /src/driver_helpers/i915_helpers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/driver_helpers/i915_helpers.c -------------------------------------------------------------------------------- /src/driver_helpers/i915_helpers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/driver_helpers/i915_helpers.h -------------------------------------------------------------------------------- /src/driver_helpers/oa_registers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/driver_helpers/oa_registers.h -------------------------------------------------------------------------------- /src/driver_helpers/xe_helpers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/driver_helpers/xe_helpers.c -------------------------------------------------------------------------------- /src/driver_helpers/xe_helpers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/driver_helpers/xe_helpers.h -------------------------------------------------------------------------------- /src/drm_helpers/drm_helpers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/drm_helpers/drm_helpers.c -------------------------------------------------------------------------------- /src/drm_helpers/drm_helpers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/drm_helpers/drm_helpers.h -------------------------------------------------------------------------------- /src/gpu_parsers/bb_parser_defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/gpu_parsers/bb_parser_defs.h -------------------------------------------------------------------------------- /src/gpu_parsers/shader_decoder.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/gpu_parsers/shader_decoder.c -------------------------------------------------------------------------------- /src/gpu_parsers/shader_decoder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/gpu_parsers/shader_decoder.h -------------------------------------------------------------------------------- /src/iaprof.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/iaprof.c -------------------------------------------------------------------------------- /src/iaprof.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/iaprof.h -------------------------------------------------------------------------------- /src/printers/debug/debug_printer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/printers/debug/debug_printer.c -------------------------------------------------------------------------------- /src/printers/debug/debug_printer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/printers/debug/debug_printer.h -------------------------------------------------------------------------------- /src/printers/interval/interval_printer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/printers/interval/interval_printer.c -------------------------------------------------------------------------------- /src/printers/interval/interval_printer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/printers/interval/interval_printer.h -------------------------------------------------------------------------------- /src/printers/stack/stack_printer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/printers/stack/stack_printer.c -------------------------------------------------------------------------------- /src/printers/stack/stack_printer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/printers/stack/stack_printer.h -------------------------------------------------------------------------------- /src/stores/gpu_kernel.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/stores/gpu_kernel.c -------------------------------------------------------------------------------- /src/stores/gpu_kernel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/stores/gpu_kernel.h -------------------------------------------------------------------------------- /src/utils/array.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/utils/array.c -------------------------------------------------------------------------------- /src/utils/array.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/utils/array.h -------------------------------------------------------------------------------- /src/utils/demangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/utils/demangle.cpp -------------------------------------------------------------------------------- /src/utils/demangle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/utils/demangle.h -------------------------------------------------------------------------------- /src/utils/hash_table.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/utils/hash_table.h -------------------------------------------------------------------------------- /src/utils/tree.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/utils/tree.h -------------------------------------------------------------------------------- /src/utils/utils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/utils/utils.c -------------------------------------------------------------------------------- /src/utils/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/iaprof/HEAD/src/utils/utils.h --------------------------------------------------------------------------------