On Tue, Apr 5, 2016 at 3:33 PM,  <[email protected]> wrote:
> Hi, I'm running ASAN on a multiprocess workload, specifically an MPI
> program. ASAN seems to handle this fairly well, by printing the process
> number at the beginning of each section. However, the outputs from each
> process sometimes get overlapped, and the callstacks are therefore sometimes
> overlapping a bit. One feature that I would like (which the valgrind tools
> have) is to see the output to different log files, one per process. One way
> this could work is with a --log-file option where the filename is specified
> as such: --log-file=asan.%p.out (where %p is filled in with the pid).
>
> I haven't looked at the ASAN source yet, but I did scour the docs and it
> doesn't seem like this is available in
> https://github.com/google/sanitizers/wiki/AddressSanitizerFlags
>
> Does this option happen to exist?


Hi Mark,

The flag is log_path. Added it to wiki.


> Second question: Is it possible to see ASAN output on a per-thread level?
> Right now outputs seem to be aggregated on a per-process basis, even if each
> process has multiple threads.

No, there is no such option.
Asan terminates process on first error, so what output do you mean?

-- 
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to