root/tools/perf/lib/include/perf/threadmap.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0 */
   2 #ifndef __LIBPERF_THREADMAP_H
   3 #define __LIBPERF_THREADMAP_H
   4 
   5 #include <perf/core.h>
   6 #include <sys/types.h>
   7 
   8 struct perf_thread_map;
   9 
  10 LIBPERF_API struct perf_thread_map *perf_thread_map__new_dummy(void);
  11 
  12 LIBPERF_API void perf_thread_map__set_pid(struct perf_thread_map *map, int thread, pid_t pid);
  13 LIBPERF_API char *perf_thread_map__comm(struct perf_thread_map *map, int thread);
  14 LIBPERF_API int perf_thread_map__nr(struct perf_thread_map *threads);
  15 LIBPERF_API pid_t perf_thread_map__pid(struct perf_thread_map *map, int thread);
  16 
  17 LIBPERF_API struct perf_thread_map *perf_thread_map__get(struct perf_thread_map *map);
  18 LIBPERF_API void perf_thread_map__put(struct perf_thread_map *map);
  19 
  20 #endif /* __LIBPERF_THREADMAP_H */

/* [<][>][^][v][top][bottom][index][help] */