diff options
Diffstat (limited to 'meta-amd-bsp/recipes-devtools/codexl/codexl/amdtPwrProf.rules')
-rw-r--r-- | meta-amd-bsp/recipes-devtools/codexl/codexl/amdtPwrProf.rules | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-devtools/codexl/codexl/amdtPwrProf.rules b/meta-amd-bsp/recipes-devtools/codexl/codexl/amdtPwrProf.rules new file mode 100644 index 00000000..f29c4829 --- /dev/null +++ b/meta-amd-bsp/recipes-devtools/codexl/codexl/amdtPwrProf.rules @@ -0,0 +1,5 @@ +# Create the device file when the module is inserted. +SUBSYSTEM=="module", ACTION=="add", KERNEL=="amdtPwrProf", RUN+="/opt/codexl/amdtPwrProf_mknod.sh" + +# Remove the device file when the module is removed. +SUBSYSTEM=="module", ACTION=="remove", KERNEL=="amdtPwrProf", RUN+="/bin/rm /dev/amdtPwrProf" |