diff options
author | 2020-07-17 09:59:12 +0300 | |
---|---|---|
committer | 2020-07-21 08:49:30 -0300 | |
commit | 59b4412f27f1410a5b22f0244368c4d5ea00d316 (patch) | |
tree | f12829e1c6aa82e7c6b6f75bab0ff984a4441a35 /tools/lib/bpf | |
parent | perf metric: Add 'struct expr_id_data' to keep expr value (diff) | |
download | linux-59b4412f27f1410a5b22f0244368c4d5ea00d316.tar.gz linux-59b4412f27f1410a5b22f0244368c4d5ea00d316.tar.bz2 linux-59b4412f27f1410a5b22f0244368c4d5ea00d316.zip |
libperf: Avoid internal moving of fdarray fds
Avoid moving of fds by fdarray__filter() so fds indices returned by
fdarray__add() can be used for access and processing of objects at
struct pollfd *entries.
Signed-off-by: Alexey Budankov <alexey.budankov@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/676844f8-55d3-c628-23db-aa163a81519e@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib/bpf')
0 files changed, 0 insertions, 0 deletions