Skip to content
Commit f8d959a5 authored by Yonghong Song's avatar Yonghong Song Committed by Alexei Starovoitov
Browse files

perf/core: add perf_get_event() to return perf_event given a struct file



A new extern function, perf_get_event(), is added to return a perf event
given a struct file. This function will be used in later patches.

Signed-off-by: default avatarYonghong Song <yhs@fb.com>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent 31ad3923
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment