Re: [PATCH v8 6/9] perf c2c: add function view hierarchy entry creation

Jiebin Sun <[email protected]>
Newsgroups org.kernel.vger.linux-perf-users,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Hi Namhyung,

> What if both DSOs are NULL?

If both are NULL, the outer condition is true, but
left_dso != right_dso is false. The function therefore skips the DSO name
comparison and reaches the final _sort__sym_cmp() call, using the symbols
to distinguish the entries instead.

Thanks,
Jiebin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.