commit | 95b446988a054c500ebeb84771cf419a68379dd5 | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@kernel.org> | Thu Apr 21 13:33:24 2022 -0700 |
committer | Namhyung Kim <namhyung@kernel.org> | Wed May 18 12:07:03 2022 -0700 |
tree | e7bd183acaa401ad520c7101214fbd5fffb6d3cc | |
parent | 81e9c2f6db7362dcff1336a2633c2fa66d7418c1 [diff] |
perf record: Handle argument change in sched_switch Recently sched_switch tracepoint added a new argument for prev_state, but it's hard to handle the change in a BPF program. Instead, we can check the function prototype in BTF before loading the program. Signed-off-by: Namhyung Kim <namhyung@kernel.org>