Ver código fonte

Add flamegraph to list of dynamic search links (#471)

This adds flamegraph to the list of dynamic search links so that query parameters are retained when navigating to/from the flamegraph view.
Timothy Palpant 6 anos atrás
pai
commit
54271f7e09
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      internal/driver/webhtml.go

+ 1
- 1
internal/driver/webhtml.go Ver arquivo

@@ -853,7 +853,7 @@ function viewer(baseUrl, nodes) {
853 853
     toptable.addEventListener('touchstart', handleTopClick);
854 854
   }
855 855
 
856
-  const ids = ['topbtn', 'graphbtn', 'peek', 'list', 'disasm',
856
+  const ids = ['topbtn', 'graphbtn', 'flamegraph', 'peek', 'list', 'disasm',
857 857
                'focus', 'ignore', 'hide', 'show', 'show-from'];
858 858
   ids.forEach(makeSearchLinkDynamic);
859 859