On 5/13/20 12:23 PM, John Fastabend wrote:
Add these generic helpers that may be useful to use from sk_msg programs.
The helpers do not depend on ctx so we can simply add them here,

  BPF_FUNC_perf_event_output
  BPF_FUNC_get_current_uid_gid
  BPF_FUNC_get_current_pid_tgid
  BPF_FUNC_get_current_comm
  BPF_FUNC_get_current_cgroup_id
  BPF_FUNC_get_current_ancestor_cgroup_id
  BPF_FUNC_get_cgroup_classid

Signed-off-by: John Fastabend <john.fastab...@gmail.com>

Acked-by: Yonghong Song <y...@fb.com>

Reply via email to