commit 15184018a0aaf8fc72d50800b46bd0c4d194ea38 parent 91eba1a0b4e6531c7aadacae2578b4221d8b2c05 Author: Brendan Gregg <brendan.d.gregg@gmail.com> Date: Wed, 24 May 2017 11:38:43 -0700 make full function description text searchable Diffstat:
| M | flamegraph.pl | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/flamegraph.pl b/flamegraph.pl @@ -702,8 +702,8 @@ my $inc = <<INC; } function g_to_func(e) { var func = g_to_text(e); - if (func != null) - func = func.replace(/ .*/, ""); + // if there's any manipulation we want to do to the function + // name before it's searched, do it here before returning. return (func); } function update_text(e) {