instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux işletim sistemi çekirdeği için 'tools/perf/ui/helpline' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PERF_UI_HELPLINE_H_ #define _PERF_UI_HELPLINE_H_ 1 #include <stdio.h> #include <stdarg.h> struct ui_helpline { void (*pop)(void); void (*push)(const char *msg); int (*show)(const char *fmt, va_list ap); }; extern struct ui_helpline *helpline_fns; void ui_help...
Linux işletim sistemi çekirdeği için 'tools/perf/ui/progress' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PERF_UI_PROGRESS_H_ #define _PERF_UI_PROGRESS_H_ 1 #include <linux/types.h> void ui_progress__finish(void); struct ui_progress { const char *title; u64 curr, next, step, total; bool size; }; void __ui_progress__init(struct ui_progress *p, u64 total, const ...
Linux kernel'inin 'tools/perf/ui/keysyms' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* SPDX-License-Identifier: GPL-2.0 */ #include "keysyms.h" #include <linux/ctype.h> #include <linux/kernel.h> const char *key_name(int key, char *bf, size_t size) { if (isprint(key)) { scnprintf(bf, size, "%c", key); } else if (key < 32) { scnprintf(bf, size, "Ctrl+%c", key + '@'); } else { const cha...
Linux kernel'inin 'tools/perf/ui/util' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include "util.h" #include "../util/debug.h" #include <stdio.h> /* * Default error logging functions */ static int perf_stdio__error(const char *format, va_list args) { fprintf(stderr, "Error:\n"); vfprintf(stderr, format, args); return 0; } static int perf_stdio__warning...
Linux kernel'inin 'tools/perf/ui/gtk/browser' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include "gtk.h" #include "../evsel.h" #include "../sort.h" #include "../hist.h" #include "../helpline.h" #include <signal.h> void perf_gtk__signal(int sig) { perf_gtk__exit(false); psignal(sig, "perf"); } void perf_gtk__resize_window(GtkWidget *window) { GdkRectangle rect...
Linux kernel'inin 'tools/perf/ui/gtk/annotate' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include "gtk.h" #include "util/sort.h" #include "util/debug.h" #include "util/annotate.h" #include "util/evlist.h" #include "util/evsel.h" #include "util/map.h" #include "util/dso.h" #include "util/symbol.h" #include "ui/helpline.h" #include <inttypes.h> #include <signal.h> en...
Linux kernel'inin 'tools/perf/ui/gtk/helpline' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include "gtk.h" #include <stdio.h> #include <string.h> #include <linux/kernel.h> #include "../ui.h" #include "../helpline.h" static void gtk_helpline_pop(void) { if (!perf_gtk__is_active_context(pgctx)) return; gtk_statusbar_pop(GTK_STATUSBAR(pgctx->statbar), pgctx-...
Linux kernel'inin 'tools/perf/ui/gtk/hists' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include "gtk.h" #include "../evlist.h" #include "../callchain.h" #include "../evsel.h" #include "../sort.h" #include "../hist.h" #include "../helpline.h" #include "../string2.h" #include <signal.h> #include <stdlib.h> #include <linux/string.h> #define MAX_COLUMNS 32 static ...
Linux işletim sistemi çekirdeği için 'tools/perf/ui/gtk/gtk' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PERF_GTK_H_ #define _PERF_GTK_H_ 1 #include <stdbool.h> #pragma GCC diagnostic ignored "-Wstrict-prototypes" #include <gtk/gtk.h> #pragma GCC diagnostic error "-Wstrict-prototypes" struct perf_gtk_context { GtkWidget *main_window; GtkWidget *notebook; #ifdef H...
Linux kernel'inin 'tools/perf/ui/gtk/progress' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <inttypes.h> #include "gtk.h" #include "../progress.h" static GtkWidget *dialog; static GtkWidget *progress; static void gtk_ui_progress__update(struct ui_progress *p) { double fraction = p->total ? 1.0 * p->curr / p->total : 0.0; char buf[1024]; if (dialog == NU...
Linux kernel'inin 'tools/perf/ui/gtk/setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include "gtk.h" #include <linux/compiler.h> #include "../util.h" extern struct perf_error_ops perf_gtk_eops; int perf_gtk__init(void) { perf_error__register(&perf_gtk_eops); perf_gtk__init_helpline(); gtk_ui_progress__init(); perf_gtk__init_hpp(); return gtk_init_check(...
Linux kernel'inin 'tools/perf/ui/gtk/util' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include "../util.h" #include "gtk.h" #include <stdlib.h> #include <string.h> #include <linux/zalloc.h> struct perf_gtk_context *pgctx; struct perf_gtk_context *perf_gtk__activate_context(GtkWidget *window) { struct perf_gtk_context *ctx; ctx = malloc(sizeof(*pgctx)); if ...
Linux kernel'inin 'tools/perf/ui/stdio/hist' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <limits.h> #include <stdio.h> #include <stdlib.h> #include <linux/string.h> #include "../../util/callchain.h" #include "../../util/debug.h" #include "../../util/event.h" #include "../../util/hist.h" #include "../../util/map.h" #include "../../util/maps.h" #include "../...
Linux işletim sistemi çekirdeği için 'tools/perf/ui/tui/tui' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PERF_TUI_H_ #define _PERF_TUI_H_ 1 void tui_progress__init(void); #endif /* _PERF_TUI_H_ */ ```
Linux kernel'inin 'tools/perf/ui/tui/helpline' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <linux/kernel.h> #include <linux/string.h> #include "../helpline.h" #include "../ui.h" #include "../libslang.h" char ui_helpline__last_msg[1024]; bool tui_helpline__set; static void tui_helpline__pop(void) { ...
Linux kernel'inin 'tools/perf/ui/tui/progress' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/kernel.h> #include "../progress.h" #include "../libslang.h" #include "../ui.h" #include "tui.h" #include "units.h" #include "../browser.h" static void __tui_progress__init(struct ui_progress *p) { p->next = p->step = p->total / (SLtt_Screen_Cols - 2) ?: 1; } s...
Linux kernel'inin 'tools/perf/ui/tui/setup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c #include <errno.h> #include <signal.h> #include <stdbool.h> #include <stdlib.h> #include <termios.h> #include <unistd.h> #include <linux/kernel.h> #ifdef HAVE_BACKTRACE_SUPPORT #include <execinfo.h> #endif #include "../../util/color.h" #include "../../util/debug.h" #include "../browser.h" #include "../helpline.h"...
Linux kernel'inin 'tools/perf/ui/tui/util' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <signal.h> #include <stdbool.h> #include <string.h> #include <stdlib.h> #include <sys/ttydefaults.h> #include "../browser.h" #include "../keysyms.h" #include "../helpline.h" #include "../ui.h" #include "../util.h" #include "../libslang.h" static void ui_browser__argv_...
Linux işletim sistemi çekirdeği için 'tools/perf/ui/browsers/hists' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PERF_UI_BROWSER_HISTS_H_ #define _PERF_UI_BROWSER_HISTS_H_ 1 #include "ui/browser.h" struct evsel; struct hist_browser { struct ui_browser b; struct hists *hists; struct hist_entry *he_selection; struct map_symbol *selection; struct hist_browser_tim...
Linux kernel'inin 'tools/perf/ui/browsers/scripts' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include "../../util/util.h" // perf_exe() #include "../util.h" #include "../../util/evlist.h" #include "../../util/hist.h" #include "../../util/debug.h" #include "../../util/session.h" #include "../../util/symbol.h" #include "../browser.h" #include "../libslang.h" #include "con...
Linux kernel'inin 'tools/perf/ui/browsers/header' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include "ui/browser.h" #include "ui/keysyms.h" #include "ui/ui.h" #include "ui/util.h" #include "ui/libslang.h" #include "util/header.h" #include "util/session.h" #include <sys/ttydefaults.h> static void ui_browser__argv_write(struct ui_browser *browser, void *entry, i...
Linux kernel'inin 'tools/perf/ui/browsers/annotate' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include "../browser.h" #include "../helpline.h" #include "../ui.h" #include "../../util/annotate.h" #include "../../util/debug.h" #include "../../util/debuginfo.h" #include "../../util/dso.h" #include "../../util/hashmap.h" #include "../../util/hist.h" #include "../../util/sort...
Linux kernel'inin 'tools/perf/ui/browsers/res_sample' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Display a menu with individual samples to browse with perf script */ #include "hist.h" #include "evsel.h" #include "hists.h" #include "sort.h" #include "config.h" #include "time-utils.h" #include "../util.h" #include "../../util/util.h" // perf_exe() #include "../../perf.h" #...
Linux işletim sistemi çekirdeği için 'tools/perf/ui/browsers/map' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PERF_UI_MAP_BROWSER_H_ #define _PERF_UI_MAP_BROWSER_H_ 1 struct map; int map__browse(struct map *map); #endif /* _PERF_UI_MAP_BROWSER_H_ */ ```
Linux kernel'inin 'tools/perf/ui/browsers/hists' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <dirent.h> #include <errno.h> #include <inttypes.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <linux/rbtree.h> #include <linux/string.h> #include <sys/ttydefaults.h> #include <linux/time64.h> #include <linux/zalloc.h> #include "../../util/debu...
Linux kernel'inin 'tools/perf/ui/browsers/map' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <elf.h> #include <inttypes.h> #include <sys/ttydefaults.h> #include <stdlib.h> #include <string.h> #include <linux/bitops.h> #include "../../util/debug.h" #include "../../util/map.h" #include "../../util/dso.h" #include "../../util/symbol.h" #include "../browser.h" #inc...
Linux kernel'inin 'tools/perf/ui/browsers/annotate-data' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <inttypes.h> #include <string.h> #include <linux/zalloc.h> #include <sys/ttydefaults.h> #include "ui/browser.h" #include "ui/helpline.h" #include "ui/keysyms.h" #include "ui/ui.h" #include "util/annotate.h" #include "util/annotate-data.h" #include "util/evsel.h" #inclu...
Linux işletim sistemi çekirdeği için 'tools/perf/pmu-events/pmu-events' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef PMU_EVENTS_H #define PMU_EVENTS_H #include <stdbool.h> #include <stddef.h> struct perf_pmu; enum aggr_mode_class { PerChip = 1, PerCore }; /** * enum metric_event_groups - How events within a pmu_metric should be grouped. */ enum metric_event_groups { /** *...
Linux kernel'inin 'tools/perf/pmu-events/empty-pmu-events' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* THIS FILE WAS AUTOGENERATED BY jevents.py arch=none model=none ! */ #include <pmu-events/pmu-events.h> #include "util/header.h" #include "util/pmu.h" #include <string.h> #include <stddef.h> struct compact_pmu_event { int offset; }; struct pmu_table_entry { ...
Linux kernel'inin 'tools/perf/dlfilters/dlfilter-show-cycles' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * dlfilter-show-cycles.c: Print the number of cycles at the start of each line * Copyright (c) 2021, Intel Corporation. */ #include <perf/perf_dlfilter.h> #include <string.h> #include <stdio.h> #define MAX_CPU 4096 enum { INSTR_CYC, BRNCH_CYC, OTHER_CYC, MAX_ENTRY };...
Linux kernel'inin 'tools/perf/dlfilters/dlfilter-test-api-v2' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Test v2 API for perf --dlfilter shared object * Copyright (c) 2023, Intel Corporation. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> /* * Copy v2 API instead of including current API */ #include <linux/perf_event.h> #include <linux...
Linux kernel'inin 'tools/perf/dlfilters/dlfilter-test-api-v0' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * dlfilter-test-api-v0.c: test original (v0) API for perf --dlfilter shared object * Copyright (c) 2021, Intel Corporation. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> /* * Copy original (v0) API instead of including current API */...
Linux kernel'inin 'tools/perf/util/string' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include "string2.h" #include <linux/kernel.h> #include <linux/string.h> #include <stdlib.h> #include <linux/ctype.h> const char *graph_dotted_line = "---------------------------------------------------------------------" "----------------------------------------------------...
Linux kernel'inin 'tools/perf/util/clockid' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <subcmd/parse-options.h> #include <stdio.h> #include <time.h> #include <strings.h> #include <linux/time64.h> #include "debug.h" #include "clockid.h" #include "record.h" struct clockid_map { const char *name; int clockid; }; #define CLOCKID_MAP(n, c) \ { .name = n,...
Linux işletim sistemi çekirdeği için 'tools/perf/util/fncache' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #ifndef _FCACHE_H #define _FCACHE_H 1 bool file_available(const char *name); #endif ```
Linux işletim sistemi çekirdeği için 'tools/perf/util/ordered-events' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ORDERED_EVENTS_H #define __ORDERED_EVENTS_H #include <linux/types.h> struct perf_sample; struct ordered_event { u64 timestamp; u64 file_offset; const char *file_path; union perf_event *event; struct list_head list; }; enum oe_flush { OE_FLUSH__NONE, ...
Linux işletim sistemi çekirdeği için 'tools/perf/util/counts' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PERF_COUNTS_H #define __PERF_COUNTS_H #include <linux/types.h> #include <internal/xyarray.h> #include <perf/evsel.h> #include <stdbool.h> struct evsel; struct perf_counts { s8 scaled; struct xyarray *values; struct xyarray *loaded; }; static inline...
Linux işletim sistemi çekirdeği için 'tools/perf/util/btf' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PERF_UTIL_BTF #define __PERF_UTIL_BTF 1 struct btf; struct btf_member; const struct btf_member *__btf_type__find_member_by_name(struct btf *btf, int type_id, const char *member_name); #endif // __PERF_UTIL_BTF ```
Linux işletim sistemi çekirdeği için 'tools/perf/util/jit' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __JIT_H__ #define __JIT_H__ #include <data.h> int jit_process(struct perf_session *session, struct perf_data *output, struct machine *machine, const char *filename, pid_t pid, pid_t tid, u64 *nbytes); int jit_inject_record(const char *filename); #endif /* __JI...
Linux kernel'inin 'tools/perf/util/unwind-libdw' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/compiler.h> #include <elfutils/libdw.h> #include <elfutils/libdwfl.h> #include <inttypes.h> #include <errno.h> #include "debug.h" #include "dso.h" #include <dwarf-regs.h> #include "unwind.h" #include "unwind-libdw.h" #include "machine.h" #include "map.h" #include...
Linux kernel'inin 'tools/perf/util/bpf-trace-summary' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* SPDX-License-Identifier: GPL-2.0 */ #include <errno.h> #include <inttypes.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include "dwarf-regs.h" /* for EM_HOST */ #include "syscalltbl.h" #include "util/cgroup.h" #include "util/hashmap.h" #include "util/trace.h" #include "util/util.h" #include <bpf...
Linux kernel'inin 'tools/perf/util/trace-event-read' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2009, Steven Rostedt <srostedt@redhat.com> */ #include <dirent.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/wait.h> #include <sys/mman.h> #include <event-par...
Linux kernel'inin 'tools/perf/util/ordered-events' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <errno.h> #include <inttypes.h> #include <linux/list.h> #include <linux/compiler.h> #include <linux/string.h> #include "ordered-events.h" #include "session.h" #include "asm/bug.h" #include "debug.h" #include "ui/progress.h" #define pr_N(n, fmt, ...) \ eprintf(n, debug...
Linux kernel'inin 'tools/perf/util/arm64-frame-pointer-unwind-support' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include "arm64-frame-pointer-unwind-support.h" #include "callchain.h" #include "event.h" #include "unwind.h" #include <string.h> #define perf_event_arm_regs perf_event_arm64_regs #include "../../arch/arm64/include/uapi/asm/perf_regs.h" #undef perf_event_arm_regs struct entrie...
Linux işletim sistemi çekirdeği için 'tools/perf/util/thread-stack' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * thread-stack.h: Synthesize a thread's stack using call / return events * Copyright (c) 2014, Intel Corporation. */ #ifndef __PERF_THREAD_STACK_H #define __PERF_THREAD_STACK_H #include <sys/types.h> #include <linux/types.h> struct thread; struct comm; struct i...
Linux kernel'inin 'tools/perf/util/env' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include "cpumap.h" #include "debug.h" #include "env.h" #include "util/header.h" #include "util/rwsem.h" #include <linux/compiler.h> #include <linux/ctype.h> #include <linux/rbtree.h> #include <linux/string.h> #include <linux/zalloc.h> #include "cgroup.h" #include <errno.h> #inc...
Linux kernel'inin 'tools/perf/util/sample' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* SPDX-License-Identifier: GPL-2.0 */ #include "sample.h" #include "debug.h" #include "thread.h" #include <elf.h> #ifndef EM_CSKY #define EM_CSKY 252 #endif #ifndef EM_LOONGARCH #define EM_LOONGARCH 258 #endif #include <linux/zalloc.h> #include <stdlib.h> #include <string.h> #include "../../arch/x86/include/asm/...
Linux kernel'inin 'tools/perf/util/cloexec' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <errno.h> #include <sched.h> #include "util.h" // for sched_getcpu() #include "../perf-sys.h" #include "cloexec.h" #include "event.h" #include "asm/bug.h" #include "debug.h" #include <unistd.h> #include <sys/syscall.h> #include <linux/string.h> static unsigned long fla...
Linux kernel'inin 'tools/perf/util/bpf_trace_augment' alt sistemi için gerekli C kaynak kodunu implemente et.
```c #include <bpf/libbpf.h> #include <internal/xyarray.h> #include "util/debug.h" #include "util/evlist.h" #include "util/trace_augment.h" #include "bpf_skel/augmented_raw_syscalls.skel.h" static struct augmented_raw_syscalls_bpf *skel; static struct evsel *bpf_output; int augmented_syscalls__prepare(void) { stru...
Linux işletim sistemi çekirdeği için 'tools/perf/util/copyfile' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0 #ifndef PERF_COPYFILE_H_ #define PERF_COPYFILE_H_ #include <linux/types.h> #include <sys/types.h> #include <fcntl.h> struct nsinfo; int copyfile(const char *from, const char *to); int copyfile_mode(const char *from, const char *to, mode_t mode); int copyfile_ns(const char *fr...
Linux işletim sistemi çekirdeği için 'tools/perf/util/block-range' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PERF_BLOCK_RANGE_H #define __PERF_BLOCK_RANGE_H #include <stdbool.h> #include <linux/rbtree.h> #include <linux/types.h> struct symbol; /* * struct block_range - non-overlapping parts of basic blocks * @node: treenode * @start: inclusive start of range * @end:...
Linux işletim sistemi çekirdeği için 'tools/perf/util/map_symbol' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0 #ifndef __PERF_MAP_SYMBOL #define __PERF_MAP_SYMBOL 1 #include <linux/types.h> struct thread; struct maps; struct map; struct symbol; struct map_symbol { struct thread *thread; struct map *map; struct symbol *sym; }; struct addr_map_symbol { struct map_symbol ms; u64...
Linux işletim sistemi çekirdeği için 'tools/perf/util/memswap' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef PERF_MEMSWAP_H_ #define PERF_MEMSWAP_H_ #include <linux/types.h> union u64_swap { u64 val64; u32 val32[2]; }; void mem_bswap_64(void *src, int byte_size); void mem_bswap_32(void *src, int byte_size); #endif /* PERF_MEMSWAP_H_ */ ```
Linux işletim sistemi çekirdeği için 'tools/perf/util/config' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PERF_CONFIG_H #define __PERF_CONFIG_H #include <stdbool.h> #include <linux/list.h> struct perf_config_item { char *name; char *value; bool from_system_config; struct list_head node; }; struct perf_config_section { char *name; struct list_head items; bool f...
Linux işletim sistemi çekirdeği için 'tools/perf/util/pmus' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PMUS_H #define __PMUS_H #include <stdbool.h> #include <stddef.h> struct perf_event_attr; struct perf_pmu; struct print_callbacks; size_t pmu_name_len_no_suffix(const char *str); /* Exposed for testing only. */ int pmu_name_cmp(const char *lhs_pmu_name, const char...
Linux kernel'inin 'tools/perf/util/demangle-java' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <sys/types.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "symbol.h" #include "demangle-java.h" #include <linux/ctype.h> #include <linux/kernel.h> enum { MODE_PREFIX = 0, MODE_CLASS = 1, MODE_FUNC = 2, MODE_TYPE = 3, MODE_CTYPE = 4,...
Linux kernel'inin 'tools/perf/util/unwind-libunwind-local' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Post mortem Dwarf CFI based unwinding on top of regs and stack dumps. * * Lots of this code have been borrowed or heavily inspired from parts of * the libunwind 0.99 code which are (amongst other contributors I may have * forgotten): * * Copyright (C) 2002-2007 Hewle...
Linux kernel'inin 'tools/perf/util/time-utils' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <stdlib.h> #include <string.h> #include <linux/string.h> #include <sys/time.h> #include <linux/time64.h> #include <time.h> #include <errno.h> #include <inttypes.h> #include <math.h> #include <linux/ctype.h> #include "debug.h" #include "time-utils.h" #include "session.h...
Linux işletim sistemi çekirdeği için 'tools/perf/util/db-export' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * db-export.h: Support for exporting data suitable for import to a database * Copyright (c) 2014, Intel Corporation. */ #ifndef __PERF_DB_EXPORT_H #define __PERF_DB_EXPORT_H #include <linux/types.h> #include <linux/list.h> struct evsel; struct machine; struct th...
Linux kernel'inin 'tools/perf/util/arm-spe' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Arm Statistical Profiling Extensions (SPE) support * Copyright (c) 2017-2018, Arm Ltd. */ #include <byteswap.h> #include <endian.h> #include <errno.h> #include <inttypes.h> #include <linux/bitops.h> #include <linux/kernel.h> #include <linux/log2.h> #include <linux/types...
Linux kernel'inin 'tools/perf/util/bpf_ftrace' alt sistemi için gerekli C kaynak kodunu implemente et.
```c #include <errno.h> #include <fcntl.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <bpf/bpf.h> #include <linux/err.h> #include "util/ftrace.h" #include "util/cpumap.h" #include "util/thread_map.h" #include "util/debug.h" #include "util/evlist.h" #include "util/bpf_counter.h" #include "util...
Linux işletim sistemi çekirdeği için 'tools/perf/util/cputopo' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PERF_CPUTOPO_H #define __PERF_CPUTOPO_H #include <linux/types.h> struct cpu_topology { /* The number of unique package_cpus_lists below. */ u32 package_cpus_lists; /* The number of unique die_cpu_lists below. */ u32 die_cpus_lists; /* The number of unique...
Linux kernel'inin 'tools/perf/util/units' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include "units.h" #include <inttypes.h> #include <limits.h> #include <stdlib.h> #include <string.h> #include <linux/kernel.h> #include <linux/time64.h> unsigned long parse_tag_value(const char *str, struct parse_tag *tags) { struct parse_tag *i = tags; while (i->tag) { co...
Linux işletim sistemi çekirdeği için 'tools/perf/util/evsel_config' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0 #ifndef __PERF_EVSEL_CONFIG_H #define __PERF_EVSEL_CONFIG_H 1 #include <linux/types.h> #include <stdbool.h> /* * The 'struct evsel_config_term' is used to pass event * specific configuration data to evsel__config routine. * It is allocated within event parsing and attached ...
Linux işletim sistemi çekirdeği için 'tools/perf/util/callchain' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PERF_CALLCHAIN_H #define __PERF_CALLCHAIN_H #include <linux/list.h> #include <linux/rbtree.h> #include "map_symbol.h" #include "branch.h" struct addr_location; struct evsel; struct hist_entry; struct hists; struct ip_callchain; struct map; struct perf_sample; stru...
Linux işletim sistemi çekirdeği için 'tools/perf/util/drm_pmu' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ #ifndef __DRM_PMU_H #define __DRM_PMU_H /* * Linux DRM clients expose information through usage stats as documented in * Documentation/gpu/drm-usage-stats.rst (available online at * https://docs.kernel.org/gpu/drm-usage-stats.html). This is a tool like P...
Linux işletim sistemi çekirdeği için 'tools/perf/util/probe-event' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PROBE_EVENT_H #define _PROBE_EVENT_H #include <linux/compiler.h> #include <stdbool.h> struct intlist; struct nsinfo; /* Probe related configurations */ struct probe_conf { bool show_ext_vars; bool show_location_range; bool force_add; bool no_inlines; bool cac...
Linux kernel'inin 'tools/perf/util/cacheline' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include "cacheline.h" #include <unistd.h> #ifdef _SC_LEVEL1_DCACHE_LINESIZE #define cache_line_size(cacheline_sizep) *cacheline_sizep = sysconf(_SC_LEVEL1_DCACHE_LINESIZE) #else #include <api/fs/fs.h> #include "debug.h" static void cache_line_size(int *cacheline_sizep) { if (...
Linux kernel'inin 'tools/perf/util/strbuf' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include "cache.h" #include "debug.h" #include "strbuf.h" #include <linux/kernel.h> #include <linux/string.h> #include <linux/zalloc.h> #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> /* * Used as the default ->buf value, so that people can always...
Linux işletim sistemi çekirdeği için 'tools/perf/util/disasm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0 #ifndef __PERF_UTIL_DISASM_H #define __PERF_UTIL_DISASM_H #include "map_symbol.h" #ifdef HAVE_LIBDW_SUPPORT #include "dwarf-aux.h" #endif struct annotation_options; struct disasm_line; struct ins; struct evsel; struct symbol; struct data_loc_info; struct type_state; struct di...
Linux kernel'inin 'tools/perf/util/values' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <inttypes.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <linux/zalloc.h> #include "values.h" #include "debug.h" #include "evsel.h" int perf_read_values_init(struct perf_read_values *values) { values->threads_max = 16; valu...
Linux kernel'inin 'tools/perf/util/perf_api_probe' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* SPDX-License-Identifier: GPL-2.0 */ #include "perf-sys.h" #include "util/cloexec.h" #include "util/evlist.h" #include "util/evsel.h" #include "util/parse-events.h" #include "util/perf_api_probe.h" #include <perf/cpumap.h> #include <errno.h> typedef void (*setup_probe_fn_t)(struct evsel *evsel); static int pe...
Linux işletim sistemi çekirdeği için 'tools/perf/util/strbuf' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PERF_STRBUF_H #define __PERF_STRBUF_H /* * Strbuf's can be use in many ways: as a byte array, or to store arbitrary * long, overflow safe strings. * * Strbufs has some invariants that are very important to keep in mind: * * 1. the ->buf member is always mallo...
Linux kernel'inin 'tools/perf/util/probe-finder' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * probe-finder.c : C expression to kprobe event converter * * Written by Masami Hiramatsu <mhiramat@redhat.com> */ #include <inttypes.h> #include <sys/utsname.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <errno.h> #include <stdio.h...
Linux kernel'inin 'tools/perf/util/genelf' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * genelf.c * Copyright (C) 2014, Google, Inc * * Contributed by: * Stephane Eranian <eranian@gmail.com> */ #include <sys/types.h> #include <stddef.h> #include <libelf.h> #include <string.h> #include <stdlib.h> #include <inttypes.h> #include <err.h> #ifdef HAVE_LI...
Linux kernel'inin 'tools/perf/util/data-convert-bt' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * CTF writing support via babeltrace. * * Copyright (C) 2014, Jiri Olsa <jolsa@redhat.com> * Copyright (C) 2014, Sebastian Andrzej Siewior <bigeasy@linutronix.de> */ #include <errno.h> #include <inttypes.h> #include <linux/compiler.h> #include <linux/kernel.h> #inc...
Linux işletim sistemi çekirdeği için 'tools/perf/util/debuginfo' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _PERF_DEBUGINFO_H #define _PERF_DEBUGINFO_H #include <errno.h> #include <linux/compiler.h> #ifdef HAVE_LIBDW_SUPPORT #include "dwarf-aux.h" /* debug information structure */ struct debuginfo { Dwarf *dbg; Dwfl_Module *mod; Dwfl *dwfl; Dwarf_Addr bia...
Linux işletim sistemi çekirdeği için 'tools/perf/util/rlimit' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: LGPL-2.1 */ #ifndef __PERF_RLIMIT_H_ #define __PERF_RLIMIT_H_ enum rlimit_action { NO_CHANGE, SET_TO_MAX, INCREASED_MAX }; void rlimit__bump_memlock(void); bool rlimit__increase_nofile(enum rlimit_action *set_rlimit); #endif // __PERF_RLIMIT_H_ ```
Linux kernel'inin 'tools/perf/util/metricgroup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2017, Intel Corporation. */ /* Manage metrics and groups of metrics from JSON files */ #include "metricgroup.h" #include "debug.h" #include "evlist.h" #include "evsel.h" #include "strbuf.h" #include "pmu.h" #include "pmus.h" #include "print-events.h" ...
Linux kernel'inin 'tools/perf/util/header' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <errno.h> #include <inttypes.h> #include "string2.h" #include <sys/param.h> #include <sys/types.h> #include <byteswap.h> #include <unistd.h> #include <regex.h> #include <stdio.h> #include <stdlib.h> #include <linux/compiler.h> #include <linux/list.h> #include <linux/ker...
Linux kernel'inin 'tools/perf/util/drm_pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) #include "drm_pmu.h" #include "counts.h" #include "cpumap.h" #include "debug.h" #include "evsel.h" #include "pmu.h" #include <perf/threadmap.h> #include <api/fs/fs.h> #include <api/io.h> #include <ctype.h> #include <dirent.h> #include <errno.h> #include <fcntl...
Linux işletim sistemi çekirdeği için 'tools/perf/util/lock-contention' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0 #ifndef PERF_LOCK_CONTENTION_H #define PERF_LOCK_CONTENTION_H #include <linux/list.h> #include <linux/rbtree.h> struct lock_filter { int nr_types; int nr_addrs; int nr_syms; int nr_cgrps; int nr_slabs; unsigned int *types; unsigned long *addrs; char **sym...
Linux kernel'inin 'tools/perf/util/zlib' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <fcntl.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <sys/stat.h> #include <sys/mman.h> #include <zlib.h> #include <linux/compiler.h> #include <internal/lib.h> #include "util/compress.h" #define CHUNK_SIZE 16384 int gzip_decompress_to_file(c...
Linux kernel'inin 'tools/perf/util/intel-tpebs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * intel_tpebs.c: Intel TPEBS support */ #include <api/fs/fs.h> #include <sys/param.h> #include <subcmd/run-command.h> #include <thread.h> #include "intel-tpebs.h" #include <linux/list.h> #include <linux/zalloc.h> #include <linux/err.h> #include "sample.h" #include "co...
Linux işletim sistemi çekirdeği için 'tools/perf/util/bpf-event' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PERF_BPF_EVENT_H #define __PERF_BPF_EVENT_H #include <linux/compiler.h> #include <linux/rbtree.h> #include <api/fd/array.h> #include <stdio.h> struct bpf_prog_info; struct machine; union perf_event; struct perf_env; struct perf_sample; struct perf_session; struct ...
Linux işletim sistemi çekirdeği için 'tools/perf/util/trace_augment' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #ifndef TRACE_AUGMENT_H #define TRACE_AUGMENT_H #include <linux/compiler.h> struct bpf_program; struct evlist; #ifdef HAVE_BPF_SKEL int augmented_syscalls__prepare(void); int augmented_syscalls__create_bpf_output(struct evlist *evlist); void augmented_syscalls__setup_bpf_output(void); int augmented_syscalls__s...
Linux kernel'inin 'tools/perf/util/spark' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include "spark.h" #include <limits.h> #include <linux/kernel.h> #define SPARK_SHIFT 8 /* Print spark lines on outf for numval values in val. */ int print_spark(char *bf, int size, unsigned long *val, int numval) { static const char *ticks[NUM_SPARKS] = { "▁", "▂", "▃", "▄...
Linux kernel'inin 'tools/perf/util/bpf_counter_cgroup' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2021 Facebook */ /* Copyright (c) 2021 Google */ #include <assert.h> #include <errno.h> #include <limits.h> #include <unistd.h> #include <sys/file.h> #include <sys/time.h> #include <sys/resource.h> #include <linux/err.h> #include <linux/perf_event.h> #include ...
Linux kernel'inin 'tools/perf/util/cputopo' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <sys/param.h> #include <sys/utsname.h> #include <inttypes.h> #include <stdlib.h> #include <string.h> #include <api/fs/fs.h> #include <linux/zalloc.h> #include <perf/cpumap.h> #include "cputopo.h" #include "cpumap.h" #include "debug.h" #include "env.h" #include "pmu.h" ...
Linux işletim sistemi çekirdeği için 'tools/perf/util/arm-spe' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Arm Statistical Profiling Extensions (SPE) support * Copyright (c) 2017-2018, Arm Ltd. */ #ifndef INCLUDE__PERF_ARM_SPE_H__ #define INCLUDE__PERF_ARM_SPE_H__ #define ARM_SPE_PMU_NAME "arm_spe_" enum { ARM_SPE_PMU_TYPE, ARM_SPE_PER_CPU_MMAPS, ARM_SPE_AUXTRACE_V1_...
Linux kernel'inin 'tools/perf/util/pmu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/list.h> #include <linux/compiler.h> #include <linux/string.h> #include <linux/zalloc.h> #include <linux/ctype.h> #include <sys/types.h> #include <fcntl.h> #include <sys/stat.h> #include <unistd.h> #include <stdio.h> #include <stdbool.h> #include <dirent.h> #inclu...
Linux kernel'inin 'tools/perf/util/machine' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <dirent.h> #include <errno.h> #include <inttypes.h> #include <regex.h> #include <stdlib.h> #include "callchain.h" #include "debug.h" #include "dso.h" #include "env.h" #include "event.h" #include "evsel.h" #include "hist.h" #include "machine.h" #include "map.h" #include ...
Linux işletim sistemi çekirdeği için 'tools/perf/util/symbol' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PERF_SYMBOL #define __PERF_SYMBOL 1 #include <linux/types.h> #include <linux/refcount.h> #include <stdbool.h> #include <stdint.h> #include <linux/list.h> #include <linux/rbtree.h> #include <stdio.h> #include <errno.h> #include "addr_location.h" #include "path.h" #i...
Linux kernel'inin 'tools/perf/util/stream' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Compare and figure out the top N hottest streams * Copyright (c) 2020, Intel Corporation. * Author: Jin Yao */ #include <inttypes.h> #include <stdlib.h> #include <linux/zalloc.h> #include "debug.h" #include "hist.h" #include "sort.h" #include "stream.h" #include "evlis...
Linux kernel'inin 'tools/perf/util/bpf_lock_contention' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include "util/cgroup.h" #include "util/debug.h" #include "util/evlist.h" #include "util/hashmap.h" #include "util/machine.h" #include "util/map.h" #include "util/symbol.h" #include "util/target.h" #include "util/thread.h" #include "util/thread_map.h" #include "util/lock-content...
Linux kernel'inin 'tools/perf/util/color' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/kernel.h> #include <subcmd/pager.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include "color.h" #include <math.h> #include <unistd.h> int perf_use_color_default = -1; static int __color_vsnprintf(char *bf, size_t size, const char *color, ...
Linux işletim sistemi çekirdeği için 'tools/perf/util/data' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PERF_DATA_H #define __PERF_DATA_H #include <stdio.h> #include <stdbool.h> #include <unistd.h> #include <linux/types.h> enum perf_data_mode { PERF_DATA_MODE_WRITE, PERF_DATA_MODE_READ, }; enum perf_dir_version { PERF_DIR_SINGLE_FILE = 0, PERF_DIR_VERSION = 1, ...
Linux kernel'inin 'tools/perf/util/dsos' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include "debug.h" #include "dsos.h" #include "dso.h" #include "util.h" #include "vdso.h" #include "namespaces.h" #include <errno.h> #include <stdlib.h> #include <string.h> #include <symbol.h> // filename__read_build_id #include <unistd.h> void dsos__init(struct dsos *dsos) { ...
Linux kernel'inin 'tools/perf/util/pstack' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Simple pointer stack * * (c) 2010 Arnaldo Carvalho de Melo <acme@redhat.com> */ #include "pstack.h" #include "debug.h" #include <linux/kernel.h> #include <linux/zalloc.h> #include <stdlib.h> #include <string.h> struct pstack { unsigned short top; unsigned short max_...
Linux işletim sistemi çekirdeği için 'tools/perf/util/dsos' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PERF_DSOS #define __PERF_DSOS #include <stdbool.h> #include <stdio.h> #include <linux/list.h> #include <linux/rbtree.h> #include "rwsem.h" struct dso; struct dso_id; struct kmod_path; struct machine; /* * Collection of DSOs as an array for iteration speed, but s...