# Verify that "trim --prune" drops calls with no side effects
# Tell trim to trim to the entire trace, but pruning calls
-apitrace trim --prune few-side-effects.trace
+apitrace trim --no-deps --prune few-side-effects.trace
# Verify that we actually trimmed what we wanted to (just calls with
# no side effects)
# Trim trace to frame 1, but dropping calls from first frame 0 with no
# side effects.
-apitrace trim --deps --trim-spec=no-side-effects --frames=1 few-side-effects.trace
+apitrace trim --no-prune --deps --trim-spec=no-side-effects --frames=1 few-side-effects.trace
# Verify that we actually trimmed what we wanted to (just calls with
# no side effects)
-trim --frames=0-5/draw,0-5/frame glxsimple.trace
+trim --exact --frames=0-5/draw,0-5/frame glxsimple.trace
dump --verbose glxsimple-trim.trace
0 glClear(mask = GL_COLOR_BUFFER_BIT)
1 glXSwapBuffers(dpy = 0x236a280, drawable = 41943041)
-trim -o trim-frames-and-calls-trim.trace --frames=5/frame --calls=2 glxsimple.trace
+trim --exact -o trim-frames-and-calls-trim.trace --frames=5/frame --calls=2 glxsimple.trace
dump --verbose trim-frames-and-calls-trim.trace
0 glXMakeCurrent(dpy = 0x236a280, drawable = 41943041, ctx = 0x2384330) = True
1 glXSwapBuffers(dpy = 0x236a280, drawable = 41943041)
-trim -o trim-identity.src.trace tri.trace
+trim --exact -o trim-identity.src.trace tri.trace
dump --verbose trim-identity.src.trace
0 glXQueryExtension(dpy = 0xfc52b0, errorb = NULL, event = NULL) = True
1 glXChooseFBConfig(dpy = 0xfc52b0, screen = 0, attribList = {GLX_RED_SIZE, 1, GLX_GREEN_SIZE, 1, GLX_BLUE_SIZE, 1, GLX_ALPHA_SIZE, 1, GLX_DOUBLEBUFFER, 1, 0}, nitems = &12) = {0xfe3620, 0xfe3710, 0xfe53e0, 0xfe54d0, 0xfe38f0, 0xfe39e0, 0xfe3e90, 0xfe56b0, 0xfe57a0, 0xfe5c50, 0xfe3f80, 0xfe5d40}
-trim -o trim-range.src.trace --calls=3-5,7,4-6,2 tri.trace
+trim --exact -o trim-range.src.trace --calls=3-5,7,4-6,2 tri.trace
dump --verbose trim-range.src.trace
0 glXGetVisualFromFBConfig(dpy = 0xfc52b0, config = 0xfe3620) = &{visual = 0xfd00e8, visualid = 154, screen = 0, depth = 24, c_class = 4, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8}
1 glXCreateNewContext(dpy = 0xfc52b0, config = 0xfe3620, renderType = GLX_RGBA_TYPE, shareList = NULL, direct = True) = 0xfdd650
-trim -o trim-thread.src.trace --thread=1 glthreads.trace
+trim --exact -o trim-thread.src.trace --thread=1 glthreads.trace
dump --verbose --thread-ids --call-nos=no trim-thread.src.trace
1 glXMakeCurrent(dpy = 0x751280, drawable = 62914565, ctx = 0xa99be0) = True
1 glGetString(name = GL_RENDERER) = "Mesa DRI Mobile Intel\2\556 GM45 Express Chipset "