mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-22 17:30:40 +03:00
Add support to make the HWPM driver as module. Set appropriate path and environment variable which needs to be passed when building the driver as module. Use basic fuse.h file instead of using fuse-helper.h which is not available in OOT builds. Introduce HWPM mock file to add definitions for register and unregister used if HWPM is not compiled in a build. Bug 4088571 Change-Id: Id6cfb78356d752b963ad7eb16e39b85df92a9a4b Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-hwpm/+/2894547 GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
13 lines
354 B
Plaintext
13 lines
354 B
Plaintext
config TEGRA_SOC_HWPM
|
|
tristate "Tegra SOC HWPM driver"
|
|
default m
|
|
help
|
|
The SOC HWPM driver enables performance monitoring for various Tegra
|
|
IPs.
|
|
|
|
config TEGRA_T234_HWPM
|
|
bool "Tegra T23x HWPM driver"
|
|
depends on TEGRA_SOC_HWPM && ARCH_TEGRA_23x_SOC
|
|
default y if (TEGRA_SOC_HWPM && ARCH_TEGRA_23x_SOC)
|
|
help
|
|
T23x performance monitoring driver. |