sync: auto-generate latest BPF helpers

Latest changes to BPF helper definitions.
This commit is contained in:
Andrii Nakryiko
2020-08-21 14:37:49 -07:00
committed by Andrii Nakryiko
parent c7d2b1f31b
commit 4069acb787

View File

@@ -150,7 +150,7 @@ static __u64 (*bpf_ktime_get_ns)(void) = (void *) 5;
* *
* Also, note that **bpf_trace_printk**\ () is slow, and should * Also, note that **bpf_trace_printk**\ () is slow, and should
* only be used for debugging purposes. For this reason, a notice * only be used for debugging purposes. For this reason, a notice
* bloc (spanning several lines) is printed to kernel logs and * block (spanning several lines) is printed to kernel logs and
* states that the helper should not be used "for production use" * states that the helper should not be used "for production use"
* the first time this helper is used (or more precisely, when * the first time this helper is used (or more precisely, when
* **trace_printk**\ () buffers are allocated). For passing values * **trace_printk**\ () buffers are allocated). For passing values
@@ -604,7 +604,7 @@ static long (*bpf_redirect)(__u32 ifindex, __u64 flags) = (void *) 23;
* *
* Retrieve the realm or the route, that is to say the * Retrieve the realm or the route, that is to say the
* **tclassid** field of the destination for the *skb*. The * **tclassid** field of the destination for the *skb*. The
* indentifier retrieved is a user-provided tag, similar to the * identifier retrieved is a user-provided tag, similar to the
* one used with the net_cls cgroup (see description for * one used with the net_cls cgroup (see description for
* **bpf_get_cgroup_classid**\ () helper), but here this tag is * **bpf_get_cgroup_classid**\ () helper), but here this tag is
* held by a route (a destination entry), not by a task. * held by a route (a destination entry), not by a task.