Linux-man Archive on lore.kernel.org
 help / color / Atom feed
* core man page %e
@ 2020-05-30 10:39 Jonny Grant
  2020-06-01 10:21 ` Jonny Grant
  2020-06-09 10:18 ` Michael Kerrisk (man-pages)
  0 siblings, 2 replies; 6+ messages in thread
From: Jonny Grant @ 2020-05-30 10:39 UTC (permalink / raw)
  To: Michael Kerrisk, linux-man

Hello mtk

I've noticed "%e-%s.core" often gives something other than the filename and the name is truncated to 16 bytes:-

ThreadPoolServi-5.core
Chrome_InProcUt-5.core

This was set:
sysctl -w kernel.core_pattern="%e-%s.core"



In multithreaded applications it looks like %e is giving something other than the filename, perhaps a thread entry-point 
symbol name.

https://www.man7.org/linux/man-pages/man5/core.5.html

            %e  executable filename (without path prefix)

Could this be updated to:

            %e  executable filename or thread name truncated to 16 bytes

Cheers, Jonny

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, back to index

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-30 10:39 core man page %e Jonny Grant
2020-06-01 10:21 ` Jonny Grant
2020-06-09  8:25   ` Michael Kerrisk (man-pages)
2020-06-09 11:00     ` Jonny Grant
2020-06-09 10:18 ` Michael Kerrisk (man-pages)
2020-06-09 11:35   ` Jonny Grant

Linux-man Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-man/0 linux-man/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-man linux-man/ https://lore.kernel.org/linux-man \
		linux-man@vger.kernel.org
	public-inbox-index linux-man

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-man


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git