Linux-Trace-Users Archive on lore.kernel.org
 help / Atom feed
* Missing exceptions:page_fault_user event?
@ 2018-11-27  2:49 Trip Volpe
  2018-11-27  3:30 ` Steven Rostedt
  0 siblings, 1 reply; 3+ messages in thread
From: Trip Volpe @ 2018-11-27  2:49 UTC (permalink / raw)
  To: linux-trace-users

Hey all; I'm trying to use `perf record` to get detailed information
about user page faults, including the addresses at which the faults
occurred. I've done this before with, e.g., `perf record -e
exceptions:page_fault_user -p 12345 sleep 1`.

However, on the system I'm examining now, I just get an "unknown
tracepoint" error. I checked
/sys/kernel/debug/tracing/events/exceptions, and sure enough, that
path does not exist. Does anybody happen to know under what
circumstances these tracepoints could be disabled or omitted? I've
looked through the kconfigs and sysctls for anything that might seem
relevant but have had no luck so far.

I'm running Ubuntu 16.04 with kernel 4.13 on a dual Xeon Gold 6126 system.

# uname -a
Linux test 4.13.0-37-generic #42~16.04.1 SMP Sat May 12 06:21:13 UTC
2018 x86_64 x86_64 x86_64 GNU/Linux

My kernel config is here: https://pastebin.com/raw/A62FDFd6

Any help or pointers would be greatly appreciated!

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

* Re: Missing exceptions:page_fault_user event?
  2018-11-27  2:49 Missing exceptions:page_fault_user event? Trip Volpe
@ 2018-11-27  3:30 ` Steven Rostedt
       [not found]   ` <CANaP9wNqYQ4GUxg52cJNJTYhjj0eU4E19rcfyzH7PLU57Ks4OA@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Steven Rostedt @ 2018-11-27  3:30 UTC (permalink / raw)
  To: Trip Volpe; +Cc: linux-trace-users

On Mon, 26 Nov 2018 18:49:19 -0800
Trip Volpe <trip.volpe@gmail.com> wrote:

> Hey all; I'm trying to use `perf record` to get detailed information
> about user page faults, including the addresses at which the faults
> occurred. I've done this before with, e.g., `perf record -e
> exceptions:page_fault_user -p 12345 sleep 1`.
> 
> However, on the system I'm examining now, I just get an "unknown
> tracepoint" error. I checked
> /sys/kernel/debug/tracing/events/exceptions, and sure enough, that

I'm guessing that debugfs is mounted. What other event systems are
there?

 # ls /sys/kernel/debug/tracing/event

What does the above produce?

-- Steve


> path does not exist. Does anybody happen to know under what
> circumstances these tracepoints could be disabled or omitted? I've
> looked through the kconfigs and sysctls for anything that might seem
> relevant but have had no luck so far.
> 
> I'm running Ubuntu 16.04 with kernel 4.13 on a dual Xeon Gold 6126 system.
> 
> # uname -a
> Linux test 4.13.0-37-generic #42~16.04.1 SMP Sat May 12 06:21:13 UTC
> 2018 x86_64 x86_64 x86_64 GNU/Linux
> 
> My kernel config is here: https://pastebin.com/raw/A62FDFd6
> 
> Any help or pointers would be greatly appreciated!

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

* Re: Missing exceptions:page_fault_user event?
       [not found]   ` <CANaP9wNqYQ4GUxg52cJNJTYhjj0eU4E19rcfyzH7PLU57Ks4OA@mail.gmail.com>
@ 2018-12-02 22:15     ` Steven Rostedt
  0 siblings, 0 replies; 3+ messages in thread
From: Steven Rostedt @ 2018-12-02 22:15 UTC (permalink / raw)
  To: Trip Volpe; +Cc: linux-trace-users

On Sun, 2 Dec 2018 13:33:34 -0800
Trip Volpe <trip.volpe@gmail.com> wrote:

> These tracepoints are still removed as of the latest Ubuntu 4.13 HWE
> kernel. I tried putting them back, and sure enough cratering ensued,
> so it looks like my best bet is to try moving forward to a newer
> kernel. Thanks for the help, Steve!

Thanks for the update.

-- Steve

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

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-27  2:49 Missing exceptions:page_fault_user event? Trip Volpe
2018-11-27  3:30 ` Steven Rostedt
     [not found]   ` <CANaP9wNqYQ4GUxg52cJNJTYhjj0eU4E19rcfyzH7PLU57Ks4OA@mail.gmail.com>
2018-12-02 22:15     ` Steven Rostedt

Linux-Trace-Users Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-trace-users/0 linux-trace-users/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-trace-users linux-trace-users/ https://lore.kernel.org/linux-trace-users \
		linux-trace-users@vger.kernel.org linux-trace-users@archiver.kernel.org
	public-inbox-index linux-trace-users


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


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