Commit fb9b78f2 authored by Brice Videau's avatar Brice Videau
Browse files

Added correct dependencies to xprof rules.

parent 604608e6
Pipeline #12205 canceled with stage
...@@ -70,7 +70,7 @@ opencl_devices.tp: $(srcdir)/gen_opencl_custom_probes.rb $(TRACEPOINT_GEN) ...@@ -70,7 +70,7 @@ opencl_devices.tp: $(srcdir)/gen_opencl_custom_probes.rb $(TRACEPOINT_GEN)
%.h %.c: %.tp %.h %.c: %.tp
$(LTTNG_GEN_TP) $< -o $*.c -o $*.h $(LTTNG_GEN_TP) $< -o $*.c -o $*.h
clprof.sh: clprof.sh: $(top_builddir)/utils/xprof.sh.erb
$(ERB) -T 1 languages=["opencl"] $(top_builddir)/utils/xprof.sh.erb > $@ $(ERB) -T 1 languages=["opencl"] $(top_builddir)/utils/xprof.sh.erb > $@
chmod a+x $@ chmod a+x $@
......
bin_SCRIPTS = iprof bin_SCRIPTS = iprof
iprof: iprof: $(top_builddir)/utils/xprof.sh.erb
$(ERB) -T 1 languages=["opencl","ze"] $(top_builddir)/utils/xprof.sh.erb > $@ $(ERB) -T 1 languages=["opencl","ze"] $(top_builddir)/utils/xprof.sh.erb > $@
chmod a+x $@ chmod a+x $@
...@@ -164,7 +164,7 @@ EXTRA_DIST += \ ...@@ -164,7 +164,7 @@ EXTRA_DIST += \
gen_zel_tracepoints.rb \ gen_zel_tracepoints.rb \
gen_probe_base.rb gen_probe_base.rb
zeprof.sh: zeprof.sh: $(top_builddir)/utils/xprof.sh.erb
$(ERB) -T 1 languages=["ze"] $(top_builddir)/utils/xprof.sh.erb > $@ $(ERB) -T 1 languages=["ze"] $(top_builddir)/utils/xprof.sh.erb > $@
chmod a+x $@ chmod a+x $@
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment