/tools/perf/util/ |
A D | thread.h | 32 DECLARE_RC_STRUCT(thread) { in DECLARE_RC_STRUCT() argument 86 static inline void __thread__zput(struct thread **thread) in __thread__zput() 92 #define thread__zput(thread) __thread__zput(&thread) argument 134 static inline struct maps *thread__maps(struct thread *thread) in thread__maps() 144 static inline pid_t thread__pid(const struct thread *thread) in thread__pid() 154 static inline pid_t thread__tid(const struct thread *thread) in thread__tid() 164 static inline pid_t thread__ppid(const struct thread *thread) in thread__ppid() 174 static inline int thread__cpu(const struct thread *thread) in thread__cpu() 250 static inline u64 thread__db_id(const struct thread *thread) in thread__db_id() 260 static inline void *thread__priv(struct thread *thread) in thread__priv() [all …]
|
A D | thread.c | 47 struct thread *thread; in thread__new() local 93 void thread__delete(struct thread *thread) in thread__delete() 132 struct thread *thread__get(struct thread *thread) in thread__get() 142 void thread__put(struct thread *thread) in thread__put() 213 struct comm *thread__comm(struct thread *thread) in thread__comm() 223 struct comm *thread__exec_comm(struct thread *thread) in thread__exec_comm() 287 int thread__set_comm_from_proc(struct thread *thread) in thread__set_comm_from_proc() 315 const char *thread__comm_str(struct thread *thread) in thread__comm_str() 336 int thread__comm_len(struct thread *thread) in thread__comm_len() 352 size_t thread__fprintf(struct thread *thread, FILE *fp) in thread__fprintf() [all …]
|
A D | thread-stack.c | 113 static inline bool thread_stack__per_cpu(struct thread *thread) in thread_stack__per_cpu() 298 static int thread_stack__call_return(struct thread *thread, in thread_stack__call_return() 364 int thread_stack__flush(struct thread *thread) in thread_stack__flush() 503 void thread_stack__free(struct thread *thread) in thread_stack__free() 521 void thread_stack__sample(struct thread *thread, int cpu, in thread_stack__sample() 564 void thread_stack__sample_late(struct thread *thread, int cpu, in thread_stack__sample_late() 617 void thread_stack__br_sample(struct thread *thread, int cpu, in thread_stack__br_sample() 678 void thread_stack__br_sample_late(struct thread *thread, int cpu, in thread_stack__br_sample_late() 903 static int thread_stack__no_call_return(struct thread *thread, in thread_stack__no_call_return() 997 static int thread_stack__trace_begin(struct thread *thread, in thread_stack__trace_begin() [all …]
|
A D | counts.h | 20 perf_counts(struct perf_counts *counts, int cpu_map_idx, int thread) in perf_counts() 26 perf_counts__is_loaded(struct perf_counts *counts, int cpu_map_idx, int thread) in perf_counts__is_loaded() 32 perf_counts__set_loaded(struct perf_counts *counts, int cpu_map_idx, int thread, bool loaded) in perf_counts__set_loaded()
|
A D | db-export.c | 62 int db_export__thread(struct db_export *dbe, struct thread *thread, in db_export__thread() 83 struct thread *thread) in __db_export__comm() 94 struct thread *thread) in db_export__comm() 134 struct thread *thread) in db_export__comm_thread() 211 struct thread *thread, in call_path_from_sample() 295 static int db_export__threads(struct db_export *dbe, struct thread *thread, in db_export__threads() 353 struct thread *thread = al->thread; in db_export__sample() local 537 struct thread *thread = machine__find_thread(machine, pid, tid); in db_export__pid_tid() local
|
A D | machine.c | 391 struct thread *thread; in findnew_guest_code() local 593 struct thread *thread) in machine__thread_exec_comm() 1732 struct thread *thread; in machine__process_mmap2_event() local 1800 struct thread *thread; in machine__process_mmap_event() local 2000 static void ip__resolve_ams(struct thread *thread, in ip__resolve_ams() 2027 static void ip__resolve_data(struct thread *thread, in ip__resolve_data() 2093 static int add_callchain_ip(struct thread *thread, in add_callchain_ip() 2477 static bool has_stitched_lbr(struct thread *thread, in has_stitched_lbr() 2699 struct thread *thread, int usr_idx) in get_leaf_frame_caller() 3022 int (*fn)(struct thread *thread, void *p), in machine__for_each_thread() [all …]
|
A D | print_insn.c | 84 static size_t print_insn_x86(struct thread *thread, u8 cpumode, cs_insn *insn, in print_insn_x86() 122 ssize_t fprintf_insn_asm(struct machine *machine, struct thread *thread, u8 cpumode, in fprintf_insn_asm() 154 size_t sample__fprintf_insn_asm(struct perf_sample *sample, struct thread *thread, in sample__fprintf_insn_asm()
|
A D | vdso.c | 159 struct thread *thread) in machine__thread_dso_type() 265 struct thread *thread, in __machine__findnew_vdso_compat() 299 struct thread *thread) in machine__find_vdso() 331 struct thread *thread) in machine__findnew_vdso()
|
A D | event.c | 439 struct thread *thread = machine__findnew_thread(machine, in perf_event__exit_del_thread() local 641 struct map *thread__find_map(struct thread *thread, u8 cpumode, u64 addr, in thread__find_map() 706 struct map *thread__find_map_fb(struct thread *thread, u8 cpumode, u64 addr, in thread__find_map_fb() 719 struct symbol *thread__find_symbol(struct thread *thread, u8 cpumode, in thread__find_symbol() 728 struct symbol *thread__find_symbol_fb(struct thread *thread, u8 cpumode, in thread__find_symbol_fb() 757 struct thread *thread; in machine__resolve() local 873 void thread__resolve(struct thread *thread, struct addr_location *al, in thread__resolve()
|
/tools/perf/scripts/python/ |
A D | stat-cpi.py | 10 def get_key(time, event, cpu, thread): argument 13 def store_key(time, cpu, thread): argument 23 def store(time, event, cpu, thread, val, ena, run): argument 31 def get(time, event, cpu, thread): argument 35 def stat__cycles_k(cpu, thread, time, val, ena, run): argument 38 def stat__instructions_k(cpu, thread, time, val, ena, run): argument 41 def stat__cycles_u(cpu, thread, time, val, ena, run): argument 44 def stat__instructions_u(cpu, thread, time, val, ena, run): argument 47 def stat__cycles(cpu, thread, time, val, ena, run): argument 50 def stat__instructions(cpu, thread, time, val, ena, run): argument
|
/tools/perf/tests/ |
A D | dwarf-unwind.c | 94 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__thread(struct thread *thread) in test_dwarf_unwind__thread() 128 struct thread *thread = *(struct thread **)p1; in test_dwarf_unwind__compare() local 144 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__krava_3(struct thread *thread) in test_dwarf_unwind__krava_3() 163 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__krava_2(struct thread *thread) in test_dwarf_unwind__krava_2() 172 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__krava_1(struct thread *thread) in test_dwarf_unwind__krava_1() 186 struct thread *thread; in test__dwarf_unwind() local
|
/tools/lib/perf/ |
A D | evsel.c | 70 int idx, thread; in perf_evsel__alloc_fd() local 130 int idx, thread, err = 0; in perf_evsel__open() local 195 int thread; in perf_evsel__close_fd_cpu() local 238 int idx, thread; in perf_evsel__munmap() local 260 int ret, idx, thread; in perf_evsel__mmap() local 295 void *perf_evsel__mmap_base(struct perf_evsel *evsel, int cpu_map_idx, int thread) in perf_evsel__mmap_base() 335 int thread, struct perf_counts_values *count) in perf_evsel__read_group() 400 int perf_evsel__read(struct perf_evsel *evsel, int cpu_map_idx, int thread, in perf_evsel__read() 429 int cpu_map_idx, int thread) in perf_evsel__ioctl() 443 int thread; in perf_evsel__run_ioctl() local [all …]
|
A D | evlist.c | 308 int cpu_map_idx, int thread, u64 id) in perf_evlist__id_hash() 329 int cpu_map_idx, int thread, u64 id) in perf_evlist__id_add() 340 int cpu_map_idx, int thread, int fd) in perf_evlist__id_add_fd() 463 static void perf_evsel__set_sid_idx(struct perf_evsel *evsel, int idx, int cpu, int thread) in perf_evsel__set_sid_idx() 514 int thread, int *_output, int *_output_overwrite, int *nr_mmaps) in mmap_per_evsel() 611 int cpu, thread, idx = 0; in mmap_per_thread() local 654 int cpu, thread; in mmap_per_cpu() local
|
/tools/usb/ |
A D | ffs-test.c | 343 static struct thread { struct 347 ssize_t (*in)(struct thread *, void *, size_t); argument 350 ssize_t (*out)(struct thread *, const void *, size_t); argument 354 pthread_t id; argument 357 } threads[] = { argument 379 static void init_thread(struct thread *t) in init_thread() argument
|
/tools/testing/selftests/bpf/benchs/ |
A D | bench_local_storage_create.c | 12 struct thread { struct 14 pthread_t *pthds; argument 19 static struct thread *threads; argument
|
/tools/perf/arch/arm/tests/ |
A D | dwarf-unwind.c | 14 struct thread *thread, u64 *regs) in sample_ustack() 46 struct thread *thread) in test__arch_unwind_sample()
|
/tools/perf/arch/arm64/tests/ |
A D | dwarf-unwind.c | 14 struct thread *thread, u64 *regs) in sample_ustack() 46 struct thread *thread) in test__arch_unwind_sample()
|
/tools/perf/arch/powerpc/tests/ |
A D | dwarf-unwind.c | 14 struct thread *thread, u64 *regs) in sample_ustack() 46 struct thread *thread) in test__arch_unwind_sample()
|
/tools/perf/arch/x86/tests/ |
A D | dwarf-unwind.c | 14 struct thread *thread, u64 *regs) in sample_ustack() 54 struct thread *thread) in test__arch_unwind_sample()
|
/tools/testing/selftests/kvm/ |
A D | hardware_disable_test.c | 58 static inline void check_create_thread(pthread_t *thread, pthread_attr_t *attr, in check_create_thread() 67 static inline void check_set_affinity(pthread_t thread, cpu_set_t *cpu_set) in check_set_affinity() 75 static inline void check_join(pthread_t thread, void **retval) in check_join()
|
/tools/testing/selftests/bpf/prog_tests/ |
A D | sockmap_helpers.h | 54 #define xpthread_create(thread, attr, func, arg) \ argument 63 #define xpthread_join(thread, retval) \ argument
|
/tools/perf/python/ |
A D | twatch.py | 11 def main(context_switch = 0, thread = -1): argument
|
/tools/testing/selftests/pidfd/ |
A D | pidfd_info_test.c | 240 pthread_t thread; in TEST_F() local 418 pthread_t thread; in TEST_F() local 567 pthread_t thread; in TEST_F() local
|
/tools/perf/ |
A D | builtin-sched.c | 71 pthread_t thread; member 112 struct thread *thread; member 1892 struct thread *thread; in perf_sched__process_comm() local 2337 struct thread *thread; in save_task_callchain() local 2511 struct thread *thread; in timehist_get_thread() local 2555 struct thread *thread, in timehist_skip_sample() 2604 struct thread *thread; in timehist_print_wakeup_event() local 2651 struct thread *thread; in timehist_sched_wakeup_event() local 2684 struct thread *thread; in timehist_print_migration_event() local 2740 struct thread *thread; in timehist_migrate_task_event() local [all …]
|
/tools/perf/trace/beauty/ |
A D | pid.c | 8 struct thread *thread = machine__findnew_thread(trace->host, pid, pid); in syscall_arg__scnprintf_pid() local
|