[baseline] Check that the profiling info is not null.
am: 796aa2cfcd

Change-Id: Ia164fa7e87856a8b8c5ad12090698bde968c942a