kernelinfo Utility - kernelinfo Utility - 2026.1 English

Vitis Reference Guide (UG1702)

Document ID
UG1702
Release Date
2026-06-23
Version
2026.1 English

The kernelinfo utility extracts and displays information from Xilinx object (XO) files for use during host code development. This information includes hardware function names, arguments, offsets, and port data.

The following command options are available:

Table 1. kernelinfo Commands
Option Description
-h [ --help ] Print help message.
-x [ --xo_path ] <arg> Absolute path to file including file name and .xo extension.
-l [ --log ] <arg> By default, information is displayed on the screen. Otherwise, you can use the --log option to output the information as a file.
-j [ --json ] Output the file in JSON format.
[input_file] XO file. Specify the XO file positionally or use the --xo_path option.
[output_file] Output from AMD v++ Compiler. Specify the output file positionally, or use the --log option.

To run the kernelinfo utility, enter the following in a Linux terminal:

kernelinfo <filename.o>

The output has three sections:

  • Kernel Definitions
  • Arguments
  • Ports

The following command generates a report, broken into specific sections for readability.

kernelinfo krnl_vadd.xo

Where krnl_vadd.xo is a compiled kernel.