> > > An alternative method would be to have 1 slot per cpu, and manage the
Lets say the thread while singlestepping the process gets
pre-empted. Eventually the cpu might run some other thread of the same
process before picking the first run thread. Or the first run
thread could after migration due to load balancing or whatever end up
running on a different thread? How do we handle these cases?
yes the limit on number of probes is a limitation. For now the
implementation would be straight and easy. We could either rework on the
algorithm or add more pages depending on how often uprobes gets used.
Yes, if we use jump absolute then the replacement sequence stays
in-tact.
--
Thanks and Regards
Srikar
--