diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2022-12-06 13:49:04 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-12-14 11:16:12 -0300 |
commit | cc2367eebb0c3c5501cddd5823e5feda7b57f706 (patch) | |
tree | 7f6ed91dbbcceb75f5f2793d55f41db7a2d0b5d4 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 9d9b22bedad13d96b34fe005ef44b4523c4eb786 (diff) |
machine: Adopt is_lock_function() from builtin-lock.c
It is used in bpf_lock_contention.c and builtin-lock.c will be made
CONFIG_LIBTRACEEVENT=y conditional, so move it to machine.c, that is
always available.
This makes those 4 global variables for sched and lock text start and
end to move to 'struct machine' too, as conceivably we can have that
info for several machine instances, say some 'perf diff' like tool.
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: [email protected]
Link: http://lore.kernel.org/lkml/
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions