On Mon, Nov 15, 2021 at 6:02 PM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote: > > Dmitrii. > > > @@ -4632,6 +4632,9 @@ union bpf_attr { > > * system boot, in nanoseconds. Does not include time the system > > * was suspended. > > * > > + * Tracing programs cannot use **bpf_ktime_get_coarse_ns**\() (but > > + * this may change in the future). > > Sorry no. This is a bug fix and there is no place for 'may change in the > future' nonsense. It's simply not possible right now and unless you have > a plan to make this work backed up by actual patches this comment is > worse than wishful thinking. No. The point of 'may' is that it actually may change. It's certainly realistic and probable. But based on the tone of your message it doesn't seem that you're interested in hearing the arguments in favor of it. So I just removed this comment to put this matter to rest. > > + * > > * See: **clock_gettime**\ (**CLOCK_MONOTONIC_COARSE**) > > * Return > > * Current *ktime*. > > @@ -4804,6 +4807,9 @@ union bpf_attr { > > * All other bits of *flags* are reserved. > > * The verifier will reject the program if *timer* is not from > > * the same *map*. > > + * > > + * Tracing programs cannot use **bpf_timer_init**\() (but this may > > + * change in the future). > > This is even worse than the above because it cannot happen ever. Please > stop this nonsensical wishful thinking crap. It does not add any value, > it just adds confusion. I respectfully disagree, but I removed this comment as well. And force pushed the commits.