Lines Matching +full:per +full:- +full:string
4 # per-cpu tools
6 # Copyright (c) Siemens AG, 2011-2013
27 return gdb.selected_thread().num - 1
30 if tid > (0x100000000 - MAX_CPUS - 2):
31 return 0x100000000 - tid - 2
40 if cpu == -1:
81 entry = -1
133 super(LxCpus, self).__init__("lx-cpus", gdb.COMMAND_DATA)
146 """Return per-cpu variable.
148 $lx_per_cpu("VAR"[, CPU]): Return the per-cpu variable called VAR for the
150 Note that VAR has to be quoted as string."""
155 def invoke(self, var_name, cpu=-1):
156 var_ptr = gdb.parse_and_eval("&" + var_name.string())
204 $lx_current([CPU]): Return the per-cpu task variable for the given CPU
210 def invoke(self, cpu=-1):