Mentions légales du service

Skip to content
Snippets Groups Projects
Commit fe65d888 authored by Kevin Pouget's avatar Kevin Pouget
Browse files

try working on thread pinning

parent b47c7ce2
No related branches found
No related tags found
No related merge requests found
...@@ -175,12 +175,21 @@ class cmd_numa_spread_pages(gdb.Command): ...@@ -175,12 +175,21 @@ class cmd_numa_spread_pages(gdb.Command):
start, stop = int(start, 16), int(stop, 16) start, stop = int(start, 16), int(stop, 16)
size = size_fmt(stop - start) size = size_fmt(stop - start)
log_user.info("Process heap goes from {} to {} (={})".format(hex(start), hex(stop), size)) log_user.info("Process heap goes from {} to {} (={})".format(hex(start), hex(stop), size))
class cmd_numa_pin_thread(gdb.Command):
def __init__ (self):
gdb.Command.__init__ (self, "numa pin_thread", gdb.COMMAND_NONE)
def invoke (self, args, from_tty):
log_user.error("Thread pinning not implemented yet ...")
pass
def on_activated(): def on_activated():
cmd_numa_current_node() cmd_numa_current_node()
cmd_numa_pagemap() cmd_numa_pagemap()
cmd_numa_current_node_by_call() cmd_numa_current_node_by_call()
cmd_numa_spread_pages() cmd_numa_spread_pages()
cmd_numa_pin_thread()
def initialize(): def initialize():
cmd_numa() cmd_numa()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment