diff options
author | Al Viro <[email protected]> | 2024-07-30 01:16:21 -0400 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2024-09-12 18:58:02 -0700 |
commit | 37d3dd663f7485bf3e444f40abee3c68f53158cb (patch) | |
tree | 20f2a3e0988f08368369dec870781bbfc7163047 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 433d7ce2d86d21274838c9e8c796f4232cd13cdb (diff) |
bpf: convert bpf_token_create() to CLASS(fd, ...)
Keep file reference through the entire thing, don't bother with grabbing
struct path reference and while we are at it, don't confuse the hell out
of readers by random mix of path.dentry->d_sb and path.mnt->mnt_sb uses -
these two are equal, so just put one of those into a local variable and
use that.
Reviewed-by: Christian Brauner <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions