Imx8mm gputop tool

hello team
trying to add gputop for imx8mm bsp 5.1.0 (tdx-reference-multimedia-image) by adding "CORE_IMAGE_EXTRA_INSTALL += "imx-test gputop “” to local.conf
and stuck with below error
Missing or unbuildable dependency chain was: [‘tdx-reference-multimedia-image’, ‘gputop’]

tried to cross compile standalone , again blocked by below error
No package ‘libgpuperfcnt’ found, not sure how to get this package

any help how to get gputop working for imx8mm?

Hi @nagendra,

We quickly tested building package individually and it compiled successfully. Can you try and see if you are able to build.

MACHINE=verdin-imx8mm bitbake -k imx-test
Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "aarch64-tdx-linux"
MACHINE              = "verdin-imx8mm"
DISTRO               = "tdx-xwayland"
DISTRO_VERSION       = "5.3.0-devel-20210825100227+build.0"
TUNE_FEATURES        = "aarch64"

gputop is not available in any of recipe. From a quick search to NXP community it looks like imx-test is all you need for

Best Regards
Ritesh Kumar

I had added ,but not much helpful in getting gpu load , so trying to add gputop.