Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/sensors: fix kprobeEntry.pinPathPrefix for multi kprobes
Here is the issue, for example: - In the case of simple kprobe: map name is: `gkp-sensor-1-gkp-0-name_map` with `gk.pinPathPrefix = gkp-sensor-1-gkp-0` - In the case of multi kprobe: map name is `gkp-sensor-1-multi_kprobe-name_map` with `gk.pinPathPrefix = gkp-sensor-1` in the second. In the case of multi kprobe, the pinPathPrefix is wrong, it should be `gk.pinPathPrefix = gkp-sensor-1-multi_kprobe`. Signed-off-by: Mahe Tardy <mahe.tardy@gmail.com>
- Loading branch information