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

Source file repositories/reference/linux-study-clean/tools/lib/perf/include/internal/threadmap.h

File Facts

System
Linux kernel
Corpus path
tools/lib/perf/include/internal/threadmap.h
Extension
.h
Size
485 bytes
Lines
24
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: implementation source
Status
source implementation candidate

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

struct thread_map_data {
	pid_t	 pid;
	char	*comm;
};

struct perf_thread_map {
	refcount_t	refcnt;
	int		nr;
	int		err_thread;
	struct thread_map_data map[];
};

struct perf_thread_map *perf_thread_map__realloc(struct perf_thread_map *map, int nr);

#endif /* __LIBPERF_INTERNAL_THREADMAP_H */

Annotation

Implementation Notes