Searched refs:mount_len (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.15/tools/perf/util/ |
D | synthetic-events.c | 517 char *path, size_t mount_len, in perf_event__synthesize_cgroup() argument 522 size_t path_len = strlen(path) - mount_len + 1; in perf_event__synthesize_cgroup() 530 path[mount_len + path_len++] = '\0'; in perf_event__synthesize_cgroup() 544 strncpy(event->cgroup.path, path + mount_len, path_len); in perf_event__synthesize_cgroup() 557 char *path, size_t mount_len, in perf_event__walk_cgroup_tree() argument 566 if (perf_event__synthesize_cgroup(tool, event, path, mount_len, in perf_event__walk_cgroup_tree() 592 mount_len, process, machine); in perf_event__walk_cgroup_tree() 609 size_t mount_len; /* length of mount point in the path */ in perf_event__synthesize_cgroups() local 619 mount_len = strlen(cgrp_root); in perf_event__synthesize_cgroups() 623 if (perf_event__walk_cgroup_tree(tool, &event, cgrp_root, mount_len, in perf_event__synthesize_cgroups()
|