Multiple copies of events appearing when uprobe distinct copies of an .so #1014
-
I am trying to use this library in a containerized environment. Each container on my node runs PostgreSQL and the function I am uprobing is in an .so that is loaded as part of PG's Has anyone seen this, or have a recommendation? Perhaps a UprobeOption needs to be set? I can't easily use |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Interesting! Sounds like a potential side effect on the kernel side? I doubt the lib has much control over this. |
Beta Was this translation helpful? Give feedback.
-
I feel pretty confident to say that this was an issue with the inode value of each copy of the library being the same was causing multiple copies of records because we were essentially adding multiple uprobes to the same function. I hope this helps someone else in the future if they run into the same issue. Some keywords to help people search: k8s, kubernetes, kube, docker, containers, multiple copies, duplicates, uprobe, inodes :) |
Beta Was this translation helpful? Give feedback.
I feel pretty confident to say that this was an issue with the inode value of each copy of the library being the same was causing multiple copies of records because we were essentially adding multiple uprobes to the same function. I hope this helps someone else in the future if they run into the same issue.
Some keywords to help people search: k8s, kubernetes, kube, docker, containers, multiple copies, duplicates, uprobe, inodes :)