Searched refs:lhs (Results 1 – 11 of 11) sorted by relevance
| /tools/perf/arch/x86/util/ |
| A D | evlist.c | 8 int arch_evlist__cmp(const struct evsel *lhs, const struct evsel *rhs) in arch_evlist__cmp() argument 51 (arch_evsel__must_be_in_group(lhs) || arch_evsel__must_be_in_group(rhs))) { in arch_evlist__cmp() 53 if (arch_is_topdown_slots(lhs)) in arch_evlist__cmp() 64 if (lhs->core.leader != rhs->core.leader) { in arch_evlist__cmp() 65 bool lhs_topdown = arch_is_topdown_metrics(lhs); in arch_evlist__cmp() 76 if (lhs->retire_lat && !rhs->retire_lat) in arch_evlist__cmp() 78 if (!lhs->retire_lat && rhs->retire_lat) in arch_evlist__cmp() 82 return lhs->core.idx - rhs->core.idx; in arch_evlist__cmp()
|
| /tools/perf/pmu-events/ |
| A D | metric.py | 118 self.lhs = _Constify(lhs) 162 lhs = self.lhs.Simplify() 182 return lhs 188 return lhs 201 lhs = self.lhs.Substitute(name, expression) 263 self.lhs = _Constify(lhs) 277 lhs = self.lhs.Simplify() 290 result = self.fn == other.fn and self.lhs.Equals(other.lhs) 299 lhs = self.lhs.Substitute(name, expression) 388 return Function('min', lhs, rhs) [all …]
|
| /tools/perf/tests/ |
| A D | cpumap.c | 159 static int __test__cpu_map_merge(const char *lhs, const char *rhs, int nr, const char *expected) in __test__cpu_map_merge() argument 161 struct perf_cpu_map *a = perf_cpu_map__new(lhs); in __test__cpu_map_merge() 207 static int __test__cpu_map_intersect(const char *lhs, const char *rhs, int nr, const char *expected) in __test__cpu_map_intersect() argument 209 struct perf_cpu_map *a = perf_cpu_map__new(lhs); in __test__cpu_map_intersect()
|
| /tools/lib/perf/ |
| A D | cpumap.c | 325 bool perf_cpu_map__equal(const struct perf_cpu_map *lhs, const struct perf_cpu_map *rhs) in perf_cpu_map__equal() argument 329 if (lhs == rhs) in perf_cpu_map__equal() 332 if (!lhs || !rhs) in perf_cpu_map__equal() 335 nr = __perf_cpu_map__nr(lhs); in perf_cpu_map__equal() 340 if (__perf_cpu_map__cpu(lhs, idx).cpu != __perf_cpu_map__cpu(rhs, idx).cpu) in perf_cpu_map__equal()
|
| /tools/testing/selftests/cgroup/ |
| A D | test_cpu.c | 108 timespec_sub(const struct timespec *lhs, const struct timespec *rhs) in timespec_sub() argument 116 if (lhs->tv_sec < rhs->tv_sec) in timespec_sub() 119 ret.tv_sec = lhs->tv_sec - rhs->tv_sec; in timespec_sub() 121 if (lhs->tv_nsec < rhs->tv_nsec) { in timespec_sub() 126 ret.tv_nsec = NSEC_PER_SEC - rhs->tv_nsec + lhs->tv_nsec; in timespec_sub() 128 ret.tv_nsec = lhs->tv_nsec - rhs->tv_nsec; in timespec_sub()
|
| /tools/lib/perf/include/perf/ |
| A D | cpumap.h | 83 LIBPERF_API bool perf_cpu_map__equal(const struct perf_cpu_map *lhs,
|
| /tools/testing/selftests/bpf/ |
| A D | bpf_experimental.h | 261 : : [lhs] "r"(LHS), [rhs] cons(RHS), [value] "ri"(VAL) : ); \ 294 :: [lhs] "r"((short)LHS), [rhs] PRED (RHS) :: l_true); \
|
| /tools/perf/util/ |
| A D | parse-events.c | 2048 __weak int arch_evlist__cmp(const struct evsel *lhs, const struct evsel *rhs) in arch_evlist__cmp() argument 2051 return lhs->core.idx - rhs->core.idx; in arch_evlist__cmp() 2057 const struct evsel *lhs = container_of(lhs_core, struct evsel, core); in evlist__cmp() local 2070 if (*force_grouped_idx != -1 && arch_evsel__must_be_in_group(lhs)) { in evlist__cmp() 2101 lhs_pmu_name = lhs->group_pmu_name; in evlist__cmp() 2112 return arch_evlist__cmp(lhs, rhs); in evlist__cmp()
|
| A D | pmus.c | 225 const struct list_head *lhs, const struct list_head *rhs) in pmus_cmp() argument 227 struct perf_pmu *lhs_pmu = container_of(lhs, struct perf_pmu, list); in pmus_cmp()
|
| A D | evlist.h | 113 int arch_evlist__cmp(const struct evsel *lhs, const struct evsel *rhs);
|
| A D | symbol.c | 456 const struct symbol *lhs = *((const struct symbol **)vlhs); in symbols__sort_name_cmp() local 459 return strcmp(lhs->name, rhs->name); in symbols__sort_name_cmp()
|
Completed in 34 milliseconds