benchmarks: Rename the gem_exec_trace tracer module

Now that we actually install the benchmarks into a sane location,
slightly abuse it to put the tracer for gem_exec_trace alongside.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2015-08-10 18:17:47 +01:00
parent d9462e61f9
commit 3911621d0d
2 changed files with 5 additions and 5 deletions

View File

@ -5,6 +5,6 @@ AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/lib
AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) $(CAIRO_CFLAGS) $(LIBUNWIND_CFLAGS)
LDADD = $(top_builddir)/lib/libintel_tools.la $(DRM_LIBS) $(PCIACCESS_LIBS) $(CAIRO_LIBS) $(LIBUNWIND_LIBS) -lm
noinst_LTLIBRARIES = generate_trace.la
generate_trace_la_LDFLAGS = -module -avoid-version -no-undefined
generate_trace_la_LIBADD = -ldl
benchmarks_LTLIBRARIES = gem_exec_tracer.la
gem_exec_tracer_la_LDFLAGS = -module -avoid-version -no-undefined
gem_exec_tracer_la_LIBADD = -ldl

View File

@ -112,8 +112,8 @@ trace_exec(int fd, const struct drm_i915_gem_execbuffer2 *execbuffer2)
{
struct trace_exec t = {
EXEC, execbuffer2->buffer_count, execbuffer2->flags
};
EXEC, execbuffer2->buffer_count, execbuffer2->flags
};
fwrite(&t, sizeof(t), 1, file);
}