Lines Matching +full:per +full:- +full:hart
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
155 def invoke(self, var_name, cpu=-1):
190 # When hart is in user mode, scratch register is pointing to task_struct.
204 $lx_current([CPU]): Return the per-cpu task variable for the given CPU
210 def invoke(self, cpu=-1):