diff options
author | Ian Rogers <irogers@google.com> | 2024-05-24 13:52:25 -0700 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2024-05-30 10:05:57 -0700 |
commit | 63b9cbd7941aa9ec5cb61567042176c4ce04b020 (patch) | |
tree | 5c1e7e12fde31b93d663a77f7af56ac11b99cf6e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d163d60258c755845cbc9cfe0e45fca71e649488 (diff) |
perf bpf filter: Give terms their own enum
Give the term types their own enum so that additional terms can be
added that don't correspond to a PERF_SAMPLE_xx flag. The term values
are numerically ascending rather than bit field positions, this means
they need translating to a PERF_SAMPLE_xx bit field in certain places
using a shift.
Signed-off-by: Ian Rogers <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: John Fastabend <john.fastabend@gmail.com>
Cc: Changbin Du <changbin.du@huawei.com>
Cc: Yang Jihong <yangjihong1@huawei.com>
Cc: Andrii Nakryiko <andrii@kernel.org>
Cc: bpf@vger.kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240524205227.244375-2-irogers@google.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions