Searched refs:mount_len (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/tools/perf/util/ |
D | synthetic-events.c | 547 char *path, size_t mount_len, in perf_event__synthesize_cgroup() argument 552 size_t path_len = strlen(path) - mount_len + 1; in perf_event__synthesize_cgroup() 560 path[mount_len + path_len++] = '\0'; in perf_event__synthesize_cgroup() 574 strncpy(event->cgroup.path, path + mount_len, path_len); in perf_event__synthesize_cgroup() 587 char *path, size_t mount_len, in perf_event__walk_cgroup_tree() argument 596 if (perf_event__synthesize_cgroup(tool, event, path, mount_len, in perf_event__walk_cgroup_tree() 622 mount_len, process, machine); in perf_event__walk_cgroup_tree() 639 size_t mount_len; /* length of mount point in the path */ in perf_event__synthesize_cgroups() local 649 mount_len = strlen(cgrp_root); in perf_event__synthesize_cgroups() 653 if (perf_event__walk_cgroup_tree(tool, &event, cgrp_root, mount_len, in perf_event__synthesize_cgroups()
|