Searched refs:ToPerfJson (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/tools/perf/pmu-events/ |
D | metric_test.py | 16 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 …]
|
D | metric.py | 13 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 …]
|
D | jevents.py | 387 x = x.ToPerfJson().replace('\\', '\\\\')
|