X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=doc%2Fexamples%2Fgetcpu-override%2FREADME;fp=doc%2Fexamples%2Fgetcpu-override%2FREADME;h=05c8e32107250875a6441f4cd3876d31b826c17f;hb=5e1b7b8bac9f038e681906b269c1422611c6376d;hp=0000000000000000000000000000000000000000;hpb=f9364363c8982127d66c2a29cb1fa21760bd00e5;p=lttng-ust.git diff --git a/doc/examples/getcpu-override/README b/doc/examples/getcpu-override/README new file mode 100644 index 00000000..05c8e321 --- /dev/null +++ b/doc/examples/getcpu-override/README @@ -0,0 +1,5 @@ +This getcpu override example shows how to implement and load a getcpu +override plugin for LTTng-UST. This can be useful in cases where direct +hardware access is available for architecture-specific registers holding +the CPU number, and where it should be used rather than the Linux kernel +sched_getcpu() vDSO/syscall.