agent: Create pci_root_bus_path for riscv64

`create_pci_root_bus_path` needs to be enabled on riscv64 for agent to
compile and work on those platforms.

Signed-off-by: Nikos Ch. Papadopoulos <ncpapad@cslab.ece.ntua.gr>
This commit is contained in:
Nikos Ch. Papadopoulos
2025-04-17 02:37:48 +00:00
committed by Ruoqing He
parent 1cb34c4d0a
commit 0f2c0d38f5

View File

@@ -13,6 +13,7 @@ use std::fs;
pub const SYSFS_DIR: &str = "/sys";
#[cfg(any(
all(target_arch = "powerpc64", target_endian = "little"),
target_arch = "riscv64",
target_arch = "s390x",
target_arch = "x86_64",
target_arch = "x86"