]> sourceware.org Git - systemtap.git/commit
Actually indent_thread() is a very useful function, but
authorBreno Leitao <leitao@linux.vnet.ibm.com>
Thu, 1 Oct 2009 03:09:07 +0000 (00:09 -0300)
committerBreno Leitao <leitao@linux.vnet.ibm.com>
Thu, 1 Oct 2009 03:09:07 +0000 (00:09 -0300)
commit2fd689d98a1c6bd24486e8e261e52bf0814dd477
tree5f85361b72b2602d7d24bb46419056cee78afbf2
parent468abaf4588392bcf7d7e243c707bb41bc17532c
Actually indent_thread() is a very useful function, but
sometimes you're probing something that is not related to
any task, as an interrupt function, and if the application
changes during the interrupt, the indentation gets confused.
For example:

    0 swapper(0): -> neo_copy_data_from_queue_to_uart
    69 a.out(7659):   -> neo_parse_modem
    74 a.out(7659):    -> neo_param
    14 swapper(0): <- neo_copy_data_from_queue_to_uart
    83 a.out(7659):  -> jsm_carrier
    86 a.out(7659):  <- jsm_carrier
     0 swapper(0): -> neo_parse_modem
    94 a.out(7659): <- jsm_tty_set_termios
     8 swapper(0): <- neo_parse_modem

So, I decided to create a simpler function that doesn't
consider the task.

Much of the idea of this implementation came from Frank(Thanks)
tapset/indent.stp
This page took 0.025936 seconds and 5 git commands to generate.