Home
last modified time | relevance | path

Searched refs:perf_thread_map (Results 1 – 25 of 45) sorted by relevance

12

/linux-6.12.1/tools/perf/util/
Dthread_map.h11 struct perf_thread_map *thread_map__new_dummy(void);
12 struct perf_thread_map *thread_map__new_by_pid(pid_t pid);
13 struct perf_thread_map *thread_map__new_by_tid(pid_t tid);
14 struct perf_thread_map *thread_map__new_by_uid(uid_t uid);
15 struct perf_thread_map *thread_map__new_all_cpus(void);
16 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid);
17 struct perf_thread_map *thread_map__new_event(struct perf_record_thread_map *event);
19 struct perf_thread_map *thread_map__new_str(const char *pid,
22 struct perf_thread_map *thread_map__new_by_tid_str(const char *tid_str);
24 size_t thread_map__fprintf(struct perf_thread_map *threads, FILE *fp);
[all …]
Dthread_map.c34 struct perf_thread_map *thread_map__new_by_pid(pid_t pid) in thread_map__new_by_pid()
36 struct perf_thread_map *threads; in thread_map__new_by_pid()
62 struct perf_thread_map *thread_map__new_by_tid(pid_t tid) in thread_map__new_by_tid()
64 struct perf_thread_map *threads = thread_map__alloc(1); in thread_map__new_by_tid()
75 static struct perf_thread_map *__thread_map__new_all_cpus(uid_t uid) in __thread_map__new_all_cpus()
81 struct perf_thread_map *threads = thread_map__alloc(max_threads); in __thread_map__new_all_cpus()
122 struct perf_thread_map *tmp; in __thread_map__new_all_cpus()
160 struct perf_thread_map *thread_map__new_all_cpus(void) in thread_map__new_all_cpus()
165 struct perf_thread_map *thread_map__new_by_uid(uid_t uid) in thread_map__new_by_uid()
170 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid) in thread_map__new()
[all …]
Dsynthetic-events.h25 struct perf_thread_map;
89 int perf_event__synthesize_thread_map2(const struct perf_tool *tool, struct perf_thread_map *thread…
90 int perf_event__synthesize_thread_map(const struct perf_tool *tool, struct perf_thread_map *threads…
101 struct target *target, struct perf_thread_map *threads,
105 struct perf_thread_map *threads, bool needs_mmap, bool data_mmap,
Dpfm.c128 struct perf_thread_map *threads) in is_libpfm_event_supported()
194 struct perf_thread_map *threads = thread_map__new_by_tid(0); in print_libpfm_event()
Devsel.h365 int evsel__open_per_thread(struct evsel *evsel, struct perf_thread_map *threads);
367 struct perf_thread_map *threads);
370 struct perf_thread_map *threads);
/linux-6.12.1/tools/lib/perf/
Dthreadmap.c10 static void perf_thread_map__reset(struct perf_thread_map *map, int start, int nr) in perf_thread_map__reset()
18 struct perf_thread_map *perf_thread_map__realloc(struct perf_thread_map *map, int nr) in perf_thread_map__realloc()
35 void perf_thread_map__set_pid(struct perf_thread_map *map, int idx, pid_t pid) in perf_thread_map__set_pid()
40 char *perf_thread_map__comm(struct perf_thread_map *map, int idx) in perf_thread_map__comm()
45 struct perf_thread_map *perf_thread_map__new_array(int nr_threads, pid_t *array) in perf_thread_map__new_array()
47 struct perf_thread_map *threads = thread_map__alloc(nr_threads); in perf_thread_map__new_array()
62 struct perf_thread_map *perf_thread_map__new_dummy(void) in perf_thread_map__new_dummy()
67 static void perf_thread_map__delete(struct perf_thread_map *threads) in perf_thread_map__delete()
80 struct perf_thread_map *perf_thread_map__get(struct perf_thread_map *map) in perf_thread_map__get()
87 void perf_thread_map__put(struct perf_thread_map *map) in perf_thread_map__put()
[all …]
Devsel.c114 struct perf_thread_map *threads) in perf_evsel__open()
132 static struct perf_thread_map *empty_thread_map; in perf_evsel__open()
503 struct perf_thread_map *perf_evsel__threads(struct perf_evsel *evsel) in perf_evsel__threads()
/linux-6.12.1/tools/lib/perf/include/perf/
Dthreadmap.h8 struct perf_thread_map;
10 LIBPERF_API struct perf_thread_map *perf_thread_map__new_dummy(void);
11 LIBPERF_API struct perf_thread_map *perf_thread_map__new_array(int nr_threads, pid_t *array);
13 LIBPERF_API void perf_thread_map__set_pid(struct perf_thread_map *map, int idx, pid_t pid);
14 LIBPERF_API char *perf_thread_map__comm(struct perf_thread_map *map, int idx);
15 LIBPERF_API int perf_thread_map__nr(struct perf_thread_map *threads);
16 LIBPERF_API pid_t perf_thread_map__pid(struct perf_thread_map *map, int idx);
18 LIBPERF_API struct perf_thread_map *perf_thread_map__get(struct perf_thread_map *map);
19 LIBPERF_API void perf_thread_map__put(struct perf_thread_map *map);
Devsel.h13 struct perf_thread_map;
31 struct perf_thread_map *threads);
45 LIBPERF_API struct perf_thread_map *perf_evsel__threads(struct perf_evsel *evsel);
Devlist.h11 struct perf_thread_map;
33 struct perf_thread_map *threads);
/linux-6.12.1/tools/lib/perf/Documentation/
Dlibperf.txt62 struct perf_thread_map;
64 struct perf_thread_map *perf_thread_map__new_dummy(void);
65 struct perf_thread_map *perf_thread_map__new_array(int nr_threads, pid_t *array);
67 void perf_thread_map__set_pid(struct perf_thread_map *map, int idx, pid_t pid);
68 char *perf_thread_map__comm(struct perf_thread_map *map, int idx);
69 int perf_thread_map__nr(struct perf_thread_map *threads);
70 pid_t perf_thread_map__pid(struct perf_thread_map *map, int idx);
72 struct perf_thread_map *perf_thread_map__get(struct perf_thread_map *map);
73 void perf_thread_map__put(struct perf_thread_map *map);
101 struct perf_thread_map *threads);
[all …]
/linux-6.12.1/tools/lib/perf/include/internal/
Dthreadmap.h14 struct perf_thread_map { struct
21 struct perf_thread_map *perf_thread_map__realloc(struct perf_thread_map *map, int nr); argument
Devsel.h11 struct perf_thread_map;
53 struct perf_thread_map *threads;
Devlist.h14 struct perf_thread_map;
29 struct perf_thread_map *threads;
/linux-6.12.1/tools/perf/tests/
Dthread-map.c25 struct perf_thread_map *map; in test__thread_map()
69 struct perf_thread_map *threads; in process_event()
92 struct perf_thread_map *threads; in test__thread_map_synthesize()
112 struct perf_thread_map *threads; in test__thread_map_remove()
Devent-times.c62 struct perf_thread_map *threads; in attach__current_disabled()
88 struct perf_thread_map *threads; in attach__current_enabled()
Dmmap-basic.c36 struct perf_thread_map *threads; in test__basic_mmap()
175 struct perf_thread_map *threads; in test_stat_user_read()
Dopenat-syscall.c23 struct perf_thread_map *threads = thread_map__new(-1, getpid(), UINT_MAX); in test__openat_syscall_event()
Dsw-clock.c47 struct perf_thread_map *threads = NULL; in __test__sw_clock_freq()
Dopenat-syscall-all-cpus.c31 struct perf_thread_map *threads = thread_map__new(-1, getpid(), UINT_MAX); in test__openat_syscall_event_on_all_cpus()
/linux-6.12.1/tools/lib/perf/tests/
Dtest-evsel.c56 struct perf_thread_map *threads; in test_stat_thread()
88 struct perf_thread_map *threads; in test_stat_thread_enable()
130 struct perf_thread_map *threads; in test_stat_user_read()
195 static int test_stat_read_format_single(struct perf_event_attr *attr, struct perf_thread_map *threa… in test_stat_read_format_single()
230 static int test_stat_read_format_group(struct perf_event_attr *attr, struct perf_thread_map *thread… in test_stat_read_format_group()
293 struct perf_thread_map *threads; in test_stat_read_format()
Dtest-threadmap.c16 struct perf_thread_map *threads; in test_threadmap_array()
48 struct perf_thread_map *threads; in test_threadmap()
Dtest-evlist.c95 struct perf_thread_map *threads; in test_stat_thread()
150 struct perf_thread_map *threads; in test_stat_thread_enable()
219 struct perf_thread_map *threads; in test_mmap_thread()
443 struct perf_thread_map *threads; in test_stat_multiplexing()
/linux-6.12.1/tools/perf/bench/
Dsynthesize.c62 struct perf_thread_map *threads, in do_run_single_threaded()
116 struct perf_thread_map *threads; in run_single_threaded()
/linux-6.12.1/tools/lib/perf/Documentation/examples/
Dcounting.c23 struct perf_thread_map *threads; in main()

12