History

Merge commit 'v2.6.35-rc3' into perf/core

Merge reason: Go from -rc1 base to -rc3 base, merge in fixes.

Ingo Molnar committed 16 years ago

Commit 646b1db2 parents 0f2c3de 7e27d6e1019 files · +83287 −7720Browse files

Showing the changes to include/trace (3 of 1019 files). Show all

Unified · Split

3 files
  1. include/trace/events/ext4.h +1 −4
  2. include/trace/events/sched.h +18 −1
  3. include/trace/events/signal.h +2 −1
include/trace/events/ext4.h+1−4
@@ -306,7 +306,6 @@ TRACE_EVENT(ext4_da_writepages_result, · 305 unmodified lines
306 __field( int, pages_written )306 __field( int, pages_written )
307 __field( long, pages_skipped )307 __field( long, pages_skipped )
308 __field( char, more_io ) 308 __field( char, more_io )
309 __field( char, no_nrwrite_index_update )
310 __field( pgoff_t, writeback_index )309 __field( pgoff_t, writeback_index )
311 ),310 ),
312 311
@@ -317,16 +316,14 @@ TRACE_EVENT(ext4_da_writepages_result, · 4 unmodified lines
317 __entry->pages_written = pages_written;316 __entry->pages_written = pages_written;
318 __entry->pages_skipped = wbc->pages_skipped;317 __entry->pages_skipped = wbc->pages_skipped;
319 __entry->more_io = wbc->more_io;318 __entry->more_io = wbc->more_io;
320 __entry->no_nrwrite_index_update = wbc->no_nrwrite_index_update;
321 __entry->writeback_index = inode->i_mapping->writeback_index;319 __entry->writeback_index = inode->i_mapping->writeback_index;
322 ),320 ),
323 321
324 TP_printk("dev %s ino %lu ret %d pages_written %d pages_skipped %ld more_io %d no_nrwrite_index_update %d writeback_index %lu",322 TP_printk("dev %s ino %lu ret %d pages_written %d pages_skipped %ld more_io %d writeback_index %lu",
325 jbd2_dev_to_name(__entry->dev),323 jbd2_dev_to_name(__entry->dev),
326 (unsigned long) __entry->ino, __entry->ret,324 (unsigned long) __entry->ino, __entry->ret,
327 __entry->pages_written, __entry->pages_skipped,325 __entry->pages_written, __entry->pages_skipped,
328 __entry->more_io,326 __entry->more_io,
329 __entry->no_nrwrite_index_update,
330 (unsigned long) __entry->writeback_index)327 (unsigned long) __entry->writeback_index)
331);328);
332 329
include/trace/events/sched.h+18−1
@@ -115,6 +115,23 @@ DEFINE_EVENT(sched_wakeup_template, sched_wakeup_new, · 114 unmodified lines
115 TP_PROTO(struct task_struct *p, int success),115 TP_PROTO(struct task_struct *p, int success),
116 TP_ARGS(p, success));116 TP_ARGS(p, success));
117 117
118#ifdef CREATE_TRACE_POINTS
119static inline long __trace_sched_switch_state(struct task_struct *p)
120{
121 long state = p->state;
122
123#ifdef CONFIG_PREEMPT
124 /*
125 * For all intents and purposes a preempted task is a running task.
126 */
127 if (task_thread_info(p)->preempt_count & PREEMPT_ACTIVE)
128 state = TASK_RUNNING;
129#endif
130
131 return state;
132}
133#endif
134
118/*135/*
119 * Tracepoint for task switches, performed by the scheduler:136 * Tracepoint for task switches, performed by the scheduler:
120 */137 */
@@ -139,7 +156,7 @@ TRACE_EVENT(sched_switch, · 18 unmodified lines
139 memcpy(__entry->next_comm, next->comm, TASK_COMM_LEN);156 memcpy(__entry->next_comm, next->comm, TASK_COMM_LEN);
140 __entry->prev_pid = prev->pid;157 __entry->prev_pid = prev->pid;
141 __entry->prev_prio = prev->prio;158 __entry->prev_prio = prev->prio;
142 __entry->prev_state = prev->state;159 __entry->prev_state = __trace_sched_switch_state(prev);
143 memcpy(__entry->prev_comm, prev->comm, TASK_COMM_LEN);160 memcpy(__entry->prev_comm, prev->comm, TASK_COMM_LEN);
144 __entry->next_pid = next->pid;161 __entry->next_pid = next->pid;
145 __entry->next_prio = next->prio;162 __entry->next_prio = next->prio;
include/trace/events/signal.h+2−1
@@ -10,7 +10,8 @@ · 9 unmodified lines
10 10
11#define TP_STORE_SIGINFO(__entry, info) \11#define TP_STORE_SIGINFO(__entry, info) \
12 do { \12 do { \
13 if (info == SEND_SIG_NOINFO) { \13 if (info == SEND_SIG_NOINFO || \
14 info == SEND_SIG_FORCED) { \
14 __entry->errno = 0; \15 __entry->errno = 0; \
15 __entry->code = SI_USER; \16 __entry->code = SI_USER; \
16 } else if (info == SEND_SIG_PRIV) { \17 } else if (info == SEND_SIG_PRIV) { \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t