linux/tools/perf/util/bpf_skel
Feng Yang 2b5b834cc3 perf kwork: Remove unreachable judgments
When s2[i] = '\0', if s1[i] != '\0', it will be judged by ret,
and if s1[i] = '\0', it will be judegd by !s1[i].
So in reality, s2 [i] will never make a judgment

Signed-off-by: Feng Yang <yangfeng@kylinos.cn>
Reviewed-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250314031013.94480-1-yangfeng59949@163.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2025-03-18 16:55:30 -07:00
..
vmlinux perf lock contention: Run BPF slab cache iterator 2024-12-23 13:52:03 -03:00
.gitignore
augmented_raw_syscalls.bpf.c perf trace: Fix BPF loading failure (-E2BIG) 2025-01-23 15:55:52 -08:00
bench_uprobe.bpf.c perf bench uprobe: Add uretprobe variant of uprobe benchmarks 2024-04-12 17:54:02 -03:00
bperf_cgroup.bpf.c perf stat: Constify control data for BPF 2024-09-03 11:43:16 -03:00
bperf_follower.bpf.c perf stat: Support inherit events during fork() for bperf 2024-11-01 23:31:08 -07:00
bperf_leader.bpf.c
bperf_u.h perf stat: Support inherit events during fork() for bperf 2024-11-01 23:31:08 -07:00
bpf_prog_profiler.bpf.c
func_latency.bpf.c perf ftrace: Use atomic inc to update histogram in BPF 2025-03-13 00:18:10 -07:00
kwork_top.bpf.c perf: Increase MAX_NR_CPUS to 4096 2024-12-09 17:52:41 -03:00
kwork_trace.bpf.c perf kwork: Remove unreachable judgments 2025-03-18 16:55:30 -07:00
lock_contention.bpf.c perf lock: Retrieve owner callstack in bpf program 2025-02-28 00:29:37 -08:00
lock_data.h perf lock: Add bpf maps for owner stack tracing 2025-02-28 00:29:36 -08:00
off_cpu.bpf.c perf record offcpu: Constify control data for BPF 2024-09-03 11:54:47 -03:00
sample-filter.h perf bpf-filter: Support filtering on cgroups 2024-08-28 18:21:49 -03:00
sample_filter.bpf.c perf bpf-filter: Support filtering on cgroups 2024-08-28 18:21:49 -03:00