diff options
author | Alexei Starovoitov <ast@kernel.org> | 2019-06-27 15:25:17 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-06-27 15:25:18 -0700 |
commit | 2ec1899e99b4959bd2a46fd3993220e4f1a5397f (patch) | |
tree | c6690684ef434a3c3759f419ef9a5492e3644dc9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3b1c667e47e4066cfe61610825ad50bc6b4a57e1 (diff) | |
parent | f6d08d9d8543c8ee494b307804b28e2750ffedb9 (diff) |
Merge branch 'bpf-sockopt-hooks'
Stanislav Fomichev says:
====================
This series implements two new per-cgroup hooks: getsockopt and
setsockopt along with a new sockopt program type. The idea is pretty
similar to recently introduced cgroup sysctl hooks, but
implementation is simpler (no need to convert to/from strings).
What this can be applied to:
* move business logic of what tos/priority/etc can be set by
containers (either pass or reject)
* handle existing options (or introduce new ones) differently by
propagating some information in cgroup/socket local storage
Compared to a simple syscall/{g,s}etsockopt tracepoint, those
hooks are context aware. Meaning, they can access underlying socket
and use cgroup and socket local storage.
v9:
* allow overwriting setsocktop arguments (Alexei Starovoitov)
(see individual changes for more changelog details)
====================
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions