aloof-angle-91616
05/18/2018, 1:53 AMsrc/docs/invoking.md and can view the python call graph, but i can't seem to figure out how to get a profile of the native engine stack. i'm trying (after killing pantsd): valgrind --tool=callgrind -v --dump-every-bb=10000000 --trace-children=yes -- ./pants --glob-expansion-failure=ignore filedeps src/python/pants/util:objects right now, but this errors out with: Exception message: Build graph construction failed: ExecutionError Received unexpected Throw state(s):
Computing Select(Specs(dependencies=(SingleAddress(directory=u'src/python/pants/util', name=u'objects'),)), =TransitiveHydratedTargets)
Computing Task(transitive_hydrated_targets, Specs(dependencies=(SingleAddress(directory=u'src/python/pants/util', name=u'objects'),)), =TransitiveHydratedTargets)
Computing Task(addresses_from_address_families, Specs(dependencies=(SingleAddress(directory=u'src/python/pants/util', name=u'objects'),)), =BuildFileAddresses)
Computing Snapshot(PathGlobs(include=(u'src/python/pants/util/BUILD.*', u'src/python/pants/util/BUILD'), exclude=(u'.*/', '/dist/', u'bower_components/', u'node_modules/', u'*.egg-info/')))
Computing DigestFile(File { path: "src/python/pants/util/BUILD", is_executable: false })
Throw(Error making env for store at "/home/cosmicexplorer/.cache/pants/lmdb_store/files/0": Invalid argument)
Traceback (no traceback):
<pants native internals>
Exception: Error making env for store at "/home/cosmicexplorer/.cache/pants/lmdb_store/files/0": Invalid argument
is there a "normal" way to profile the native engine? i can't immediately interpret this error (working on it!)