Home
last modified time | relevance | path

Searched refs:ToPerfJson (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/tools/perf/pmu-events/
Dmetric_test.py16 self.assertEqual((a | b).ToPerfJson(), 'a | b')
17 self.assertEqual((a ^ b).ToPerfJson(), 'a ^ b')
18 self.assertEqual((a & b).ToPerfJson(), 'a & b')
19 self.assertEqual((a < b).ToPerfJson(), 'a < b')
20 self.assertEqual((a > b).ToPerfJson(), 'a > b')
21 self.assertEqual((a + b).ToPerfJson(), 'a + b')
22 self.assertEqual((a - b).ToPerfJson(), 'a - b')
23 self.assertEqual((a * b).ToPerfJson(), 'a * b')
24 self.assertEqual((a / b).ToPerfJson(), 'a / b')
25 self.assertEqual((a % b).ToPerfJson(), 'a % b')
[all …]
Dmetric.py13 def ToPerfJson(self) -> str: member in Expression
33 return self.ToPerfJson()
153 def ToPerfJson(self): member in Operator
218 def ToPerfJson(self): member in Select
219 true_str = self.true_val.ToPerfJson()
220 cond_str = self.cond.ToPerfJson()
221 false_str = self.false_val.ToPerfJson()
266 def ToPerfJson(self): member in Function
318 def ToPerfJson(self): member in Event
346 def ToPerfJson(self): member in Constant
[all …]
Djevents.py387 x = x.ToPerfJson().replace('\\', '\\\\')