Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump requests from 2.31.0 to 2.32.2 in /drivers/gpu/drm/ci/xfails #4

Open
wants to merge 55 commits into
base: google_tools_master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
08dbbb1
perf test: Ignore security failures in all PMU test
captain5050 Sep 25, 2024
2ac2aa4
bpf: Make bpf_helper_defs.h c++ friendly
Apr 26, 2023
05737cf
perf jevents: Allow multiple metricgroups.json files
captain5050 Feb 8, 2024
8995b36
perf jevents: Update metric constraint support
captain5050 Feb 8, 2024
2e1c0fb
perf jevents: Add descriptions to metricgroup abstraction
captain5050 Feb 8, 2024
e2d374e
perf jevents: Allow metric groups not to be named
captain5050 Feb 19, 2024
59b4e2d
perf jevents: Support parsing negative exponents
captain5050 Feb 8, 2024
833dbe3
perf jevents: Term list fix in event parsing
captain5050 Feb 24, 2024
d1ca86c
perf jevents: Add threshold expressions to Metric
captain5050 Feb 8, 2024
bafc988
perf jevents: Move json encoding to its own functions
captain5050 Feb 17, 2024
6717e29
perf jevents: Drop duplicate pending metrics
captain5050 Feb 8, 2024
1ae0794
perf jevents: Skip optional metrics in metric group list
captain5050 Feb 8, 2024
1b2e823
perf jevents: Build support for generating metrics from python
captain5050 May 13, 2023
302b9b0
perf jevents: Add load event json to verify and allow fallbacks
captain5050 Feb 13, 2024
91f4d7e
perf jevents: Add RAPL event metric for AMD zen models
captain5050 Feb 8, 2024
08aa9ba
perf jevents: Add idle metric for AMD zen models
captain5050 Feb 8, 2024
2901c45
perf jevents: Add upc metric for uops per cycle for AMD
captain5050 Feb 9, 2024
1b178e2
perf jevents: Add br metric group for branch statistics on AMD
captain5050 Feb 9, 2024
0b56105
perf jevents: Add software prefetch (swpf) metric group for AMD
captain5050 Feb 9, 2024
f6fb5b7
perf jevents: Add hardware prefetch (hwpf) metric group for AMD
captain5050 Feb 9, 2024
c51d72e
perf jevents: Add itlb metric group for AMD
captain5050 Feb 9, 2024
08b4f74
perf jevents: Add dtlb metric group for AMD
captain5050 Feb 9, 2024
faa0267
perf jevents: Add uncore l3 metric group for AMD
captain5050 Feb 9, 2024
3009290
perf jevents: Add load store breakdown metrics ldst for AMD
captain5050 Feb 22, 2024
8d4d2d3
perf jevents: Add ILP metrics for AMD
captain5050 Feb 22, 2024
a2c9024
perf jevents: Add context switch metrics for AMD
captain5050 Feb 22, 2024
4a8aebf
perf jevents: Add uop cache hit/miss rates for AMD
captain5050 May 14, 2024
cffe38b
perf jevents: Add RAPL metrics for all Intel models
captain5050 Feb 8, 2024
75ffafe
perf jevents: Add idle metric for Intel models
captain5050 Feb 8, 2024
d2cb809
perf jevents: Add smi metric group for Intel models
captain5050 Feb 8, 2024
f77d15a
perf jevents: Add CheckPmu to see if a PMU is in loaded json events
captain5050 Mar 1, 2024
ca71931
perf jevents: Mark metrics with experimental events as experimental
captain5050 Sep 26, 2024
5c1f4ae
perf jevents: Add tsx metric group for Intel models
captain5050 Feb 8, 2024
3c00be5
perf jevents: Add br metric group for branch statistics on Intel
captain5050 Feb 13, 2024
00cd189
perf jevents: Add software prefetch (swpf) metric group for Intel
captain5050 Feb 23, 2024
9778227
perf jevents: Add ports metric group giving utilization on Intel
captain5050 Feb 13, 2024
51fec5c
perf jevents: Add L2 metrics for Intel
captain5050 Feb 21, 2024
bcc5808
perf jevents: Add load store breakdown metrics ldst for Intel
captain5050 Feb 22, 2024
9855e95
perf jevents: Add ILP metrics for Intel
captain5050 Feb 22, 2024
8fc9db8
perf jevents: Add context switch metrics for Intel
captain5050 Feb 22, 2024
bfb7846
perf jevents: Add FPU metrics for Intel
captain5050 Feb 23, 2024
bb97715
perf jevents: Add Miss Level Parallelism (MLP) metric for Intel
captain5050 Feb 23, 2024
404bdef
perf jevents: Add mem_bw metric for Intel
captain5050 Feb 23, 2024
c0f42cc
perf jevents: Add local/remote "mem" breakdown metrics for Intel
captain5050 Feb 23, 2024
9f790fe
perf jevents: Add dir breakdown metrics for Intel
captain5050 Feb 24, 2024
e46f6fe
perf jevents: Add C-State metrics from the PCU PMU for Intel
captain5050 Feb 26, 2024
774813c
perf jevents: Add local/remote miss latency metrics for Intel
captain5050 Feb 27, 2024
0a2be6a
perf jevents: Add upi_bw metric for Intel
captain5050 Feb 28, 2024
76f29a8
perf jevents: Add mesh bandwidth saturation metric for Intel
captain5050 Mar 29, 2024
54d94f9
perf jevents: Add collection of topdown like metrics for arm64
captain5050 Feb 9, 2024
87954a2
perf jevents: Add cycles breakdown metric for arm64/AMD/Intel
captain5050 Feb 23, 2024
de50f4e
perf jevents: Validate that all names given an Event
captain5050 Feb 29, 2024
5e432dd
perf test: Be more tolerant of metricgroup failures
captain5050 Apr 3, 2024
ce161b0
perf test: Avoid hard coded metrics in stat std output test
captain5050 Apr 17, 2024
044afaf
Bump requests from 2.31.0 to 2.32.2 in /drivers/gpu/drm/ci/xfails
dependabot[bot] Sep 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion drivers/gpu/drm/ci/xfails/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ charset-normalizer==3.2.0
idna==3.4
pip==23.3
python-gitlab==3.15.0
requests==2.31.0
requests==2.32.2
requests-toolbelt==1.0.0
ruamel.yaml==0.17.32
ruamel.yaml.clib==0.2.7
Expand Down
7 changes: 6 additions & 1 deletion scripts/bpf_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -827,6 +827,9 @@ def print_one(self, helper):
print(' *{}{}'.format(' \t' if line else '', line))

print(' */')
fptr_type = '%s%s(*)(' % (
self.map_type(proto['ret_type']),
((' ' + proto['ret_star']) if proto['ret_star'] else ''))
print('static %s %s(* const %s)(' % (self.map_type(proto['ret_type']),
proto['ret_star'], proto['name']), end='')
comma = ''
Expand All @@ -845,8 +848,10 @@ def print_one(self, helper):
one_arg += '{}'.format(n)
comma = ', '
print(one_arg, end='')
fptr_type += one_arg

print(') = (void *) %d;' % helper.enum_val)
fptr_type += ')'
print(') = (%s) %d;' % (fptr_type, helper.enum_val))
print('')

###############################################################################
Expand Down
2 changes: 2 additions & 0 deletions tools/perf/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ trace/beauty/generated/
pmu-events/pmu-events.c
pmu-events/jevents
pmu-events/metric_test.log
pmu-events/arch/**/extra-metrics.json
pmu-events/arch/**/extra-metricgroups.json
tests/shell/*.shellcheck_log
tests/shell/coresight/*.shellcheck_log
tests/shell/lib/*.shellcheck_log
Expand Down
23 changes: 18 additions & 5 deletions tools/perf/Makefile.perf
Original file line number Diff line number Diff line change
Expand Up @@ -1265,9 +1265,26 @@ endif # CONFIG_PERF_BPF_SKEL
bpf-skel-clean:
$(call QUIET_CLEAN, bpf-skel) $(RM) -r $(SKEL_TMP_OUT) $(SKELETONS) $(SKEL_OUT)/vmlinux.h

pmu-events-clean:
ifeq ($(OUTPUT),)
$(call QUIET_CLEAN, pmu-events) $(RM) \
pmu-events/pmu-events.c \
pmu-events/metric_test.log \
pmu-events/test-empty-pmu-events.c \
pmu-events/empty-pmu-events.log
$(Q)find pmu-events/arch -name 'extra-metrics.json' -delete -o \
-name 'extra-metricgroups.json' -delete
else
$(call QUIET_CLEAN, pmu-events) $(RM) -r $(OUTPUT)pmu-events/arch \
$(OUTPUT)pmu-events/pmu-events.c \
$(OUTPUT)pmu-events/metric_test.log \
$(OUTPUT)pmu-events/test-empty-pmu-events.c \
$(OUTPUT)pmu-events/empty-pmu-events.log
endif

clean:: $(LIBAPI)-clean $(LIBBPF)-clean $(LIBSUBCMD)-clean $(LIBSYMBOL)-clean $(LIBPERF)-clean \
arm64-sysreg-defs-clean fixdep-clean python-clean bpf-skel-clean \
tests-coresight-targets-clean
tests-coresight-targets-clean pmu-events-clean
$(call QUIET_CLEAN, core-objs) $(RM) $(LIBPERF_A) $(OUTPUT)perf-archive \
$(OUTPUT)perf-iostat $(LANG_BINDINGS)
$(Q)find $(or $(OUTPUT),.) -name '*.o' -delete -o -name '*.a' -delete -o \
Expand All @@ -1280,10 +1297,6 @@ clean:: $(LIBAPI)-clean $(LIBBPF)-clean $(LIBSUBCMD)-clean $(LIBSYMBOL)-clean $(
$(OUTPUT)FEATURE-DUMP $(OUTPUT)util/*-bison* $(OUTPUT)util/*-flex* \
$(OUTPUT)util/intel-pt-decoder/inat-tables.c \
$(OUTPUT)tests/llvm-src-{base,kbuild,prologue,relocation}.c \
$(OUTPUT)pmu-events/pmu-events.c \
$(OUTPUT)pmu-events/test-empty-pmu-events.c \
$(OUTPUT)pmu-events/empty-pmu-events.log \
$(OUTPUT)pmu-events/metric_test.log \
$(OUTPUT)$(fadvise_advice_array) \
$(OUTPUT)$(fsconfig_arrays) \
$(OUTPUT)$(fsmount_arrays) \
Expand Down
62 changes: 58 additions & 4 deletions tools/perf/pmu-events/Build
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
pmu-events-y += pmu-events.o
JDIR = pmu-events/arch/$(SRCARCH)
JSON = $(shell [ -d $(JDIR) ] && \
find $(JDIR) -name '*.json' -o -name 'mapfile.csv')
JSON = $(shell find pmu-events/arch -name *.json -o -name *.csv)
JDIR_TEST = pmu-events/arch/test
JSON_TEST = $(shell [ -d $(JDIR_TEST) ] && \
find $(JDIR_TEST) -name '*.json')
Expand Down Expand Up @@ -29,6 +28,61 @@ $(PMU_EVENTS_C): $(EMPTY_PMU_EVENTS_C)
$(call rule_mkdir)
$(Q)$(call echo-cmd,gen)cp $< $@
else
# Extract the model from a extra-metrics.json or extra-metricgroups.json path
model_name = $(shell echo $(1)|sed -e 's@.\+/\(.*\)/extra-metric.*\.json@\1@')
vendor_name = $(shell echo $(1)|sed -e 's@.\+/\(.*\)/[^/]*/extra-metric.*\.json@\1@')

# Copy checked-in json for generation.
$(OUTPUT)pmu-events/arch/%: pmu-events/arch/%
$(call rule_mkdir)
$(Q)$(call echo-cmd,gen)cp $< $@

GEN_METRIC_DEPS := pmu-events/metric.py pmu-events/common_metrics.py

# Generate AMD Json
ZENS = $(shell ls -d pmu-events/arch/x86/amdzen*)
ZEN_METRICS = $(foreach x,$(ZENS),$(OUTPUT)$(x)/extra-metrics.json)
ZEN_METRICGROUPS = $(foreach x,$(ZENS),$(OUTPUT)$(x)/extra-metricgroups.json)

$(ZEN_METRICS): pmu-events/amd_metrics.py $(GEN_METRIC_DEPS)
$(call rule_mkdir)
$(Q)$(call echo-cmd,gen)$(PYTHON) $< $(call model_name,$@) pmu-events/arch > $@

$(ZEN_METRICGROUPS): pmu-events/amd_metrics.py $(GEN_METRIC_DEPS)
$(call rule_mkdir)
$(Q)$(call echo-cmd,gen)$(PYTHON) $< -metricgroups $(call model_name,$@) pmu-events/arch > $@

# Generate ARM Json
ARMS = $(shell ls -d pmu-events/arch/arm64/arm/*)
ARM_METRICS = $(foreach x,$(ARMS),$(OUTPUT)$(x)/extra-metrics.json)
ARM_METRICGROUPS = $(foreach x,$(ARMS),$(OUTPUT)$(x)/extra-metricgroups.json)

$(ARM_METRICS): pmu-events/arm64_metrics.py $(GEN_METRIC_DEPS)
$(call rule_mkdir)
$(Q)$(call echo-cmd,gen)$(PYTHON) $< $(call vendor_name,$@) $(call model_name,$@) pmu-events/arch > $@

$(ARM_METRICGROUPS): pmu-events/arm64_metrics.py $(GEN_METRIC_DEPS)
$(call rule_mkdir)
$(Q)$(call echo-cmd,gen)$(PYTHON) $< -metricgroups $(call vendor_name,$@) $(call model_name,$@) pmu-events/arch > $@

# Generate Intel Json
INTELS = $(shell ls -d pmu-events/arch/x86/*|grep -v amdzen|grep -v mapfile.csv)
INTEL_METRICS = $(foreach x,$(INTELS),$(OUTPUT)$(x)/extra-metrics.json)
INTEL_METRICGROUPS = $(foreach x,$(INTELS),$(OUTPUT)$(x)/extra-metricgroups.json)

$(INTEL_METRICS): pmu-events/intel_metrics.py $(GEN_METRIC_DEPS)
$(call rule_mkdir)
$(Q)$(call echo-cmd,gen)$(PYTHON) $< $(call model_name,$@) pmu-events/arch > $@

$(INTEL_METRICGROUPS): pmu-events/intel_metrics.py $(GEN_METRIC_DEPS)
$(call rule_mkdir)
$(Q)$(call echo-cmd,gen)$(PYTHON) $< -metricgroups $(call model_name,$@) pmu-events/arch > $@

GEN_JSON = $(patsubst %,$(OUTPUT)%,$(JSON)) \
$(ZEN_METRICS) $(ZEN_METRICGROUPS) \
$(ARM_METRICS) $(ARM_METRICGROUPS) \
$(INTEL_METRICS) $(INTEL_METRICGROUPS)

$(METRIC_TEST_LOG): $(METRIC_TEST_PY) $(METRIC_PY)
$(call rule_mkdir)
$(Q)$(call echo-cmd,test)$(PYTHON) $< 2> $@ || (cat $@ && false)
Expand All @@ -41,9 +95,9 @@ $(EMPTY_PMU_EVENTS_TEST_LOG): $(EMPTY_PMU_EVENTS_C) $(TEST_EMPTY_PMU_EVENTS_C)
$(call rule_mkdir)
$(Q)$(call echo-cmd,test)diff -u $^ 2> $@ || (cat $@ && false)

$(PMU_EVENTS_C): $(JSON) $(JSON_TEST) $(JEVENTS_PY) $(METRIC_PY) $(METRIC_TEST_LOG) $(EMPTY_PMU_EVENTS_TEST_LOG)
$(PMU_EVENTS_C): $(GEN_JSON) $(JSON_TEST) $(JEVENTS_PY) $(METRIC_PY) $(METRIC_TEST_LOG) $(EMPTY_PMU_EVENTS_TEST_LOG)
$(call rule_mkdir)
$(Q)$(call echo-cmd,gen)$(PYTHON) $(JEVENTS_PY) $(JEVENTS_ARCH) $(JEVENTS_MODEL) pmu-events/arch $@
$(Q)$(call echo-cmd,gen)$(PYTHON) $(JEVENTS_PY) $(JEVENTS_ARCH) $(JEVENTS_MODEL) $(OUTPUT)pmu-events/arch $@
endif

# pmu-events.c file is generated in the OUTPUT directory so it needs a
Expand Down
Loading