[iovisor-dev] BPF Concurrency

2020-05-22 Thread Kanthi P
Hi, I’ve been reading that hash map’s update element is atomic and also that we can use BPF_XADD to make the entire map update atomically. But I think that doesn’t guarantee that these updates are thread safe, meaning one cpu core can overwrite other core’s update. Is there a clean way of kee

[iovisor-dev] USDT probe to trace based on path to binary

2020-05-22 Thread Vallish Guru.V.
Hello, I am trying to introduce USDT probe to an application and my bcc script is failing with following error: Traceback (most recent call last): File "test.py", line 40, in b = BPF(text=prog, usdt_contexts=[u]) File "/usr/lib/python3.6/dist-packages/bcc/__init__.py", line 318,