Change experimental_flamegraph API.

Bug: 195934783
Change-Id: I0fc8456187c1d643c0b16fc70c04ef434b9f1c9f
diff --git a/docs/data-sources/java-heap-profiler.md b/docs/data-sources/java-heap-profiler.md
index f03977e..c789ba9 100644
--- a/docs/data-sources/java-heap-profiler.md
+++ b/docs/data-sources/java-heap-profiler.md
@@ -67,7 +67,10 @@
 
 ```sql
 select name, cumulative_size
-       from experimental_flamegraph(56785646801, 1, 'graph')
+       from experimental_flamegraph
+       where ts = 56785646801
+            and upid = 1
+            and profile_type = 'graph'
        order by 2 desc;
 ```