]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Preserve identifier id in OCaml demangler
authorFabian Hemmer <copy@copy.sh>
Fri, 26 Feb 2021 07:52:23 +0000 (02:52 -0500)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 30 Mar 2021 15:45:59 +0000 (12:45 -0300)
commit9199790079447067a440ec3a867e0a315c34f30c
tree602a7a4516b234a4b234025d4fa5ca00986c2c63
parent851dba1321a805cf6d2a64121b3af3376ae33bd5
perf tools: Preserve identifier id in OCaml demangler

Some OCaml developers reported that this bit of information is sometimes
useful for disambiguating functions for which the OCaml compiler assigns
the same name, e.g. nested or inlined functions.

Signed-off-by: Fabian Hemmer <copy@copy.sh>
Link: http://lore.kernel.org/lkml/20210226075223.p3s5oz4jbxwnqjtv@nyu
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/demangle-ocaml-test.c
tools/perf/util/demangle-ocaml.c