+20
−16
+18
−13
Loading
Getting context for what a tool is doing, such as the perf_inject instance, using container_of the tool is a common pattern in the code. This isn't possible event_op2, event_op3 and event_op4 callbacks as the tool isn't passed. Add the argument and then fix function signatures to match. As tools maybe reading a tool from somewhere else, change that code to use the passed in tool. Signed-off-by:Ian Rogers <irogers@google.com> Signed-off-by:
Namhyung Kim <namhyung@kernel.org>