Hi,

I am curious to know what the stance is from people with deep expertise with KProbe regarding its stability for use on production systems (meaning, what are the chances of crashing a system by inserting kernel probes).

The main use I am looking at is intercepting a few (~8-10) system calls, and retrieving some specific data from the task_struct mainly.

Notably :
- Is KProbe today (in the latest distribs : Ubuntu 14.04 , RHEL 7, etc...) stable to the point it is perfectly ok to use KProbe to say redirect system calls and perform measurements on them on a system that's high value ? This obviously assumes that whatever code I am inserting in the probe is safe and sound.


- Did stability evolve over recent times or has it been deemed stable for years ? I'm trying to figure out if there's some kind of cutoff date, where kernels released before that cutoff date should not be used with KProbe and those after are okay. Even a very blurry timeline is fine btw, I don't need a specific day of the year :)

I'm interested in both the insertion and removal of the probes. Are they both safe ?

Thanks,

Hassan
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to