Merge branch 'android11-5.4' into 'android11-5.4-lts'
Sync up with android11-5.4 for the following commits:8540985fd2
ANDROID: trace: sched: add sched blocked tracepoint which dumps out context of sleep.c2ad8d4b00
ANDROID: ABI: update allowed list for QCOM Change-Id: Ie04e7957c5dea19f1d4fb1031824ca274075514f Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
commit
1931e1db75
@ -574,6 +574,7 @@
|
||||
dma_resv_test_signaled_rcu
|
||||
dma_resv_wait_timeout_rcu
|
||||
dma_set_coherent_mask
|
||||
__dma_request_channel
|
||||
dma_set_mask
|
||||
do_exit
|
||||
do_wait_intr
|
||||
@ -1333,11 +1334,18 @@
|
||||
__mdiobus_register
|
||||
mdiobus_unregister
|
||||
media_create_pad_link
|
||||
media_create_intf_link
|
||||
media_device_cleanup
|
||||
media_device_init
|
||||
__media_device_register
|
||||
media_device_register_entity
|
||||
media_device_unregister
|
||||
media_device_unregister_entity
|
||||
media_devnode_create
|
||||
media_devnode_remove
|
||||
media_entity_pads_init
|
||||
media_entity_remove_links
|
||||
media_remove_intf_links
|
||||
memblock_free
|
||||
memchr
|
||||
memcmp
|
||||
@ -2679,7 +2687,9 @@
|
||||
vb2_mmap
|
||||
vb2_ops_wait_finish
|
||||
vb2_ops_wait_prepare
|
||||
vb2_plane_cookie
|
||||
vb2_plane_vaddr
|
||||
vb2_prepare_buf
|
||||
vb2_poll
|
||||
vb2_qbuf
|
||||
vb2_querybuf
|
||||
@ -2687,6 +2697,7 @@
|
||||
vb2_queue_init
|
||||
vb2_queue_release
|
||||
vb2_reqbufs
|
||||
vb2_request_object_is_buffer
|
||||
vb2_streamoff
|
||||
vb2_streamon
|
||||
vb2_vmalloc_memops
|
||||
|
@ -402,6 +402,30 @@ DEFINE_EVENT_SCHEDSTAT(sched_stat_template, sched_stat_blocked,
|
||||
TP_PROTO(struct task_struct *tsk, u64 delay),
|
||||
TP_ARGS(tsk, delay));
|
||||
|
||||
/*
|
||||
* Tracepoint for recording the cause of uninterruptible sleep.
|
||||
*/
|
||||
TRACE_EVENT(sched_blocked_reason,
|
||||
|
||||
TP_PROTO(struct task_struct *tsk),
|
||||
|
||||
TP_ARGS(tsk),
|
||||
|
||||
TP_STRUCT__entry(
|
||||
__field( pid_t, pid )
|
||||
__field( void*, caller )
|
||||
__field( bool, io_wait )
|
||||
),
|
||||
|
||||
TP_fast_assign(
|
||||
__entry->pid = tsk->pid;
|
||||
__entry->caller = (void *)get_wchan(tsk);
|
||||
__entry->io_wait = tsk->in_iowait;
|
||||
),
|
||||
|
||||
TP_printk("pid=%d iowait=%d caller=%pS", __entry->pid, __entry->io_wait, __entry->caller)
|
||||
);
|
||||
|
||||
/*
|
||||
* Tracepoint for accounting runtime (time the task is executing
|
||||
* on a CPU).
|
||||
|
@ -973,6 +973,7 @@ update_stats_enqueue_sleeper(struct cfs_rq *cfs_rq, struct sched_entity *se)
|
||||
}
|
||||
|
||||
trace_sched_stat_blocked(tsk, delta);
|
||||
trace_sched_blocked_reason(tsk);
|
||||
|
||||
/*
|
||||
* Blocking time is in units of nanosecs, so shift by
|
||||
|
Loading…
Reference in New Issue
Block a user