]> sourceware.org Git - systemtap.git/commit
Take a plain string for print_format::string_to_components
authorJosh Stone <jistone@redhat.com>
Sat, 14 Nov 2015 02:12:51 +0000 (18:12 -0800)
committerJosh Stone <jistone@redhat.com>
Sat, 14 Nov 2015 02:12:51 +0000 (18:12 -0800)
commit2ec92b34f21b4c1035a3161a039a42e17aed4641
tree21576ec1d1df640f7b343b28eeb52b76f684fbd5
parent4b5ac217f50edc1572ffde0b4500b893c95eeed1
Take a plain string for print_format::string_to_components

This is mostly called with print_format::raw_components, which is a string,
and an interned value isn't needed for sharing within, so avoid it.

It might be nicer to make raw_components an interned_string itself, but a
few places in tapsets.cxx are building that string incrementally, so they'd
need a bit of refactoring to use separate string buffers first.
staptree.cxx
staptree.h
This page took 0.026206 seconds and 5 git commands to generate.