We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33b725c commit d1bac78Copy full SHA for d1bac78
tools/perf/pmu-events/metric.py
@@ -413,10 +413,10 @@ def has_event(event: Event) -> Function:
413
# pylint: disable=invalid-name
414
return Function('has_event', event)
415
416
-def strcmp_cpuid_str(event: str) -> Function:
+def strcmp_cpuid_str(cpuid: Event) -> Function:
417
# pylint: disable=redefined-builtin
418
419
- return Function('strcmp_cpuid_str', event)
+ return Function('strcmp_cpuid_str', cpuid)
420
421
class Metric:
422
"""An individual metric that will specifiable on the perf command line."""
0 commit comments