pidData 70 tools/testing/selftests/bpf/progs/pyperf.h static __always_inline void *get_thread_state(void *tls_base, PidData *pidData) pidData 75 tools/testing/selftests/bpf/progs/pyperf.h bpf_probe_read(&key, sizeof(key), (void*)(long)pidData->tls_key_addr); pidData 81 tools/testing/selftests/bpf/progs/pyperf.h static __always_inline bool get_frame_data(void *frame_ptr, PidData *pidData, pidData 87 tools/testing/selftests/bpf/progs/pyperf.h frame_ptr + pidData->offsets.PyFrameObject_back); pidData 90 tools/testing/selftests/bpf/progs/pyperf.h frame_ptr + pidData->offsets.PyFrameObject_code); pidData 97 tools/testing/selftests/bpf/progs/pyperf.h frame->f_code + pidData->offsets.PyCodeObject_filename); pidData 100 tools/testing/selftests/bpf/progs/pyperf.h frame->f_code + pidData->offsets.PyCodeObject_name); pidData 105 tools/testing/selftests/bpf/progs/pyperf.h frame->co_filename + pidData->offsets.String_data); pidData 109 tools/testing/selftests/bpf/progs/pyperf.h frame->co_name + pidData->offsets.String_data); pidData 159 tools/testing/selftests/bpf/progs/pyperf.h PidData* pidData = bpf_map_lookup_elem(&pidmap, &pid); pidData 160 tools/testing/selftests/bpf/progs/pyperf.h if (!pidData) pidData 179 tools/testing/selftests/bpf/progs/pyperf.h (void*)(long)pidData->current_state_addr); pidData 184 tools/testing/selftests/bpf/progs/pyperf.h void* thread_state = pidData->use_tls ? get_thread_state(tls_base, pidData) pidData 188 tools/testing/selftests/bpf/progs/pyperf.h if (pidData->use_tls) { pidData 195 tools/testing/selftests/bpf/progs/pyperf.h thread_state + pidData->offsets.PyThreadState_thread); pidData 201 tools/testing/selftests/bpf/progs/pyperf.h if (event->pthread_match || !pidData->use_tls) { pidData 209 tools/testing/selftests/bpf/progs/pyperf.h thread_state + pidData->offsets.PyThreadState_frame); pidData 221 tools/testing/selftests/bpf/progs/pyperf.h if (frame_ptr && get_frame_data(frame_ptr, pidData, &frame, &sym)) {