diff options
author | Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> | 2021-02-08 09:40:27 -0800 |
---|---|---|
committer | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2021-02-09 13:26:29 +0200 |
commit | 77892f4f050e73e5998c4f3a12b1e459680be7f6 (patch) | |
tree | 04048599a5cea15af550fa2d7bd4a1daa9f3dc5d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | e22fa6f0a9760297295c621fdcd4e29cf32fcfbd (diff) |
i915/perf: Store a mask of valid OA formats for a platform
Validity of an OA format is checked by using a sparse array of formats
per gen. Instead maintain a mask of supported formats for a platform in
the perf object.
v2: Use set_bit and test_bit style for the format_mask (Chris)
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210208174029.45621-1-umesh.nerlige.ramappa@intel.com
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions