trace: Don't strip lines containing '#' arbitrarily
commit5eb5527b1eaec0955a91f8532424bb45611b7b0c
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Tue, 5 Oct 2010 13:28:51 +0000 (5 14:28 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 9 Oct 2010 08:16:50 +0000 (9 08:16 +0000)
tree9e56b23a4d6b416d7ac1920865464f64433cf742
parent9a85d3944715c709d740edb987b84bd657b9d7ef
trace: Don't strip lines containing '#' arbitrarily

Although comment lines must be skipped, the '#' character can occur in
valid format strings.  Be more careful when checking for comments.
Leave comments at the end of the line where they will not interfere with
other processing.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
tracetool