linux/drivers/oprofile/cpu_buffer.c
<<
> < href="../linux+v3.9.5/driversoptrofile/cpu_buffer.c"> > o/spa> ospa> class="lxr_search"> >="+search" method="post" onsubmit="return do_search(this);"> > > > Search ospa> class="lxr_prefs" < onclick="return ajax_prefs();"> > o/spa> > < < ="ajax+*" method="post" onsubmit="return false;"> oinput typ="vhidden" nam="vajax_lookup" id"vajax_lookup" alue="v"> > < <
<
< < < odiv id"vfile_contents"
< <1o/a>ospa> class="comment">/**o/spa>
 < <2o/a>ospa> class="comment"> * @file cpu_buffer.co/spa>
 < <3o/a>ospa> class="comment"> *o/spa>
 < <4o/a>ospa> class="comment"> * @remark Copyright 2002-2009 OProfile authorso/spa>
 < <5o/a>ospa> class="comment"> * @remark Read the file COPYINGo/spa>
 < <6o/a>ospa> class="comment"> *o/spa>
 < <7o/a>ospa> class="comment"> * @author John Levn v⁢levn le/cpu_bua>oa> class value="v321.31.3<1
	  >
  v321.31.3<3/option4t t t t t t t t t t t t t pa> c/cpu_buu31 > 
 	 3<018/option>
  1alue="v3.10154
	  >
  v3.1013
  
   c/cpu_buu31 > 
 	 <9a>3<018/option>
  1alu9="v3.90154
	  >
  v3.1013
  
   c/cpu_buu31 > 
 	 < <7o/a>ospa> class="comment"> * @author J1a href="ddriversoptrofile/cpu_bufffer.1#L2" id"vL2" class="line" nn>
Each CPU has a local  @authclaat stocla PC  > <
/evne""vL7">< <7o/a>ospa> class="comment"> * @author J1_buffer.1co/spa>
 eclasm."vL7">< <7o/a>ospa> class="comment"> * @author J1 href="d1riversoptrofile/cpu_buf1fer.c1L4" id"vL4" class="line" nam= Evne"ually each CPU's  @authcis "cocessed intoclassglobal"vL7">< <7o/a>ospa> class="comment"> * @author J1opyright1 2002-2009 OProfile aut1horso1spa>
 < <7o/a>ospa> class="comment"> * @author J1ead the 1file COPYINGo/spa>
 < <7o/a>ospa> class="comment"> * @author J1 href="d1riversoptrofile/cpu_buf1fer.c1L7" id"vL7" class="line" nam= Winuse a local  @authcsea two reasloo: L7"NMI ea similar"vL7">< <7o/a>ospa> class="comment"> * @author J1ohn Levn1 v⁢levn le/cpu_bua>o1a> cl1ss value="v321.31.3<1
	  >
  vinterrupt canno  synchronise, L7d hc#L samp leg rate="vL5">< <5o/a>ospa> class="comment"> * @remark R1;>"><1/a>3<018/option>
  1alu1e="v3110154
	  >
  v3.1013
would l6" clo catastrophicsglobal synchronisa/formif"vL5">< <5o/a>ospa> class="comment"> * @remark R19>"><19a>3<018/option>
  1alu19="v3190154
	  >
  v3.1013
asglobal  @authcwas used."vL7">< <7o/a>ospa> class="comment"> * @author J20 href="20riversoptrofile/cpu_bu20="v32ion id"vL7" class="line" nam=/"vL7">< <7o/a>ospa> class="comment"> * @author J2a href="2driversoptrofile/cpu_bu2ffer.2#L2"  <7o/a>ospa> class="comment"> * @author J2_buffer.cco/spa>
 ight./schld.hfile> c/ <7o/a>ospa> class="comment"> * @author J2 href="d2riversoptrofile/cpu_buf2fer.c23file#i ospi 
 o">ight./="commen.hfile> c/ <7o/a>ospa> class="comment"> * @author J2opyright2 2002-2009 OProfile aut2horso24file#i ospi 
 o">ight./errno.hfile> c/ <7o/a>ospa> class="comment"> * @author J2ead the 2file COPYINGo/spa>
 ospa> class="comment"> * @author J2 href="d2riversoptrofile/cpu_buf2fer.c26file#i ospa> class="commentevne"* @authoho/spa>
 o">evne"* @authohfile>quo t <7o/a>ospa> class="comment"> * @author J2ohn Levn2 v⁢levn le/cpu_bua>o2a> cl27file#i ospa> class="comment"> * @authoho/spa>
 o">"> * @authohfile>quo t <7o/a>ospa> class="comment"> * @author J2;>"><2/a>3<018/option>
  1alu2e="v328file#i ospa> class="comment @auth_syncoho/spa>
 o"> @auth_syncohfile>quo t <7o/a>ospa> class="comment"> * @author J29>"><29a>3<018/option>
  1alu29="v329file#i ospa> class="comment="comoho/spa>
 o">="comohfile>quo t <7o/a>ospa> class="comment"> * @author J30 href="30riversoptrofile/cpu_bu30="v330L2"  <7o/a>ospa> class="comment"> * @author J3a href="3driversoptrofile/cpu_bu3ffer.3#L2" #defofi ajax_prefscode=OP_BUFFER_FLAGS_contents"a>o">OP_BUFFER_FLAGSL2"  0 <7o/a>ospa> class="comment"> * @author J3_buffer.3co/spa>
 ospa> class="comment"> * @author J3 href="drriversoptrofile/cpu_bufffer.c33file">	  > struct ajax_prefscode=rleg* @auth_contents"a>o">rleg* @authL2"  *ajax_prefscode=op_rleg* @auth_contents"a>o">op_rleg* @authL2" t <7o/a>ospa> class="comment"> * @author J3opyright3 2002-2009 OProfile aut3horso3spa>
 jax_prefscode=DEFINE_PER_CPU_contents"a>o">DEFINE_PER_CPUpa>
(struct ajax_prefscode=="commen_"> * @auth_contents"a>o">opcommen_"> * @authpa>
, ajax_prefscode=="_"> * @auth_contents"a>o">op_"> * @authpa>
)t <7o/a>ospa> class="comment"> * @author J3ead the 3file COPYINGo/spa>
 ospa> class="comment"> * @author J3 href="d3riversoptrofile/cpu_buf3fer.c36file">	  > void ajax_prefscode=wq_sync* @auth_contents"a>o">wq_sync* @authpa>
(struct ajax_prefscode=work_struct_contents"a>o">work_structL2"  *ajax_prefscode=work_contents"a>o">workpa>
)t <7o/a>ospa> class="comment"> * @author J3ohn Levn3 v⁢levn le/cpu_bua>o3a> cl37L2"  <7o/a>ospa> class="comment"> * @author J3;>"><3/a>3<018/option>
  1alu3e="v338L2" #defofi ajax_prefscode=DEFAULT_TIMER_EXPIRE_contents"a>o">DEFAULT_TIMER_EXPIREL2"  (ajax_prefscode=HZ_contents"a>o">HZL2"  / 10) <7o/a>ospa> class="comment"> * @author J39>"><39a>3<018/option>
  1alu39="v339file">	  > int ajax_prefscode=work_enabled_contents"a>o">work_enabledL2" t <7o/a>ospa> class="comment"> * @author J40 href="40riversoptrofile/cpu_bu40="v340L2"  <7o/a>ospa> class="comment"> * @author J4a href="4driversoptrofile/cpu_bu4ffer.4#L2" unsigned loeg ajax_prefscode=="commen_get_"> * @auth_size_contents"a>o">opcommen_get_"> * @auth_sizepa>
(void) <7o/a>ospa> class="comment"> * @author J4_buffer.4co/spa>
 ospa> class="comment"> * @author J4 href="d4riversoptrofile/cpu_buf4fer.c43file        ue="v">ajax_prefscode=="commen_"> * @auth_size_contents"a>o">opcommen_"> * @auth_sizepa>
t <7o/a>ospa> class="comment"> * @author J4opyright  2002-2009 OProfile authhorso4spa>
} <7o/a>ospa> class="comment"> * @author J4ead the 4file COPYINGo/spa>
 ospa> class="comment"> * @author J4 href="d4riversoptrofile/cpu_buf4fer.c46filevoid ajax_prefscode=opcommen_"> * @auth_i <_smpl_lajax_ontents"a>o">opcommen_"> * @auth_i <_smpl_lajapa>
(void) <7o/a>ospa> class="comment"> * @author J4ohn Levn4 v⁢levn le/cpu_bua>o4a> cl47L2" { <7o/a>ospa> class="comment"> * @author J4;>"><4/a>3<018/option>
  1alu4e="v348file        struct ajax_prefscode=="commen_"> * @auth_contents"a>o">opcommen_"> * @authpa>
 *ajax_prefscode="> * @a_contents"a>o">"> * @apa>
 = &ajax_prefscode=__get_"> *vah_contents"a>o">__get_"> *vahpa>
(ajax_prefscode=="_"> * @auth_contents"a>o">op_"> * @authpa>
)t <7o/a>ospa> class="comment"> * @author J49>"><49a>3<018/option>
  1alu49="v349L2"  <7o/a>ospa> class="comment"> * @author J50 href="50riversoptrofile/cpu_bu50="v350file        ajax_prefscode="> * @a_contents"a>o">"> * @apa>
-> c/cjax_prefscode=samp e_laja_oclaflow_contents"a>o">samp e_laja_oclaflowpa>
++t <7o/a>ospa> class="comment"> * @author J5a href="5driversoptrofile/cpu_bu5ffer.51pa>
} <7o/a>ospa> class="comment"> * @author J5_buffer.5co/spa>
 ospa> class="comment"> * @author J5 href="d5riversoptrofile/cpu_buf5fer.c53filevoid ajax_prefscode=fa>n_"> * @auths_contents"a>o">fa>n_"> * @authspa>
(void) <7o/a>ospa> class="comment"> * @author J5opyright5 2002-2009 OProfile aut5horso54L2" { <7o/a>ospa> class="comment"> * @author J5ead the ffile COPYINGo/spa>
 o">op_rleg* @authL2" ) <7o/a>ospa> class="comment"> * @author J5 href="d5riversoptrofile/cpu_buf5fer.c56file                ajax_prefscode=rleg* @auth_fa>n_contents"a>o">rleg* @auth_fa>npa>
(ajax_prefscode=="_rleg* @auth_contents"a>o">op_rleg* @authL2" )t <7o/a>ospa> class="comment"> * @author J5ohn Levn5 v⁢levn le/cpu_bua>o5a> cl57file        ajax_prefscode=="_rleg* @auth_contents"a>o">op_rleg* @authL2"  = ajax_prefscode=NULL_contents"a>o">NULLpa>
t <7o/a>ospa> class="comment"> * @author J5;>"><5/a>3<018/option>
  1alu5e="v358pa>
} <7o/a>ospa> class="comment"> * @author J59>"><59a>3<018/option>
  1alu59="v359L2"  <7o/a>ospa> class="comment"> * @author J60 href="60riversoptrofile/cpu_bu60="v360L2" #defofi ajax_prefscode=RB_EVENT_HDR_SIZE_contents"a>o">RB_EVENT_HDR_SIZEL2"  4 <7o/a>ospa> class="comment"> * @author J6a href="6driversoptrofile/cpu_bu6ffer.6#L2"  <7o/a>ospa> class="comment"> * @author J6_buffer.6co/spa>
  * @auths_contents"a>o">alloc_"> * @authspa>
(void) <7o/a>ospa> class="comment"> * @author J6 href="d6riversoptrofile/cpu_buf6fer.c63L2" { <7o/a>ospa> class="comment"> * @author J6opyright6 2002-2009 OProfile aut6horso64file        int ajax_prefscode=i_contents"a>o">ipa>
t <7o/a>ospa> class="comment"> * @author J6ead the 6file COPYINGo/spa>
 ospa> class="comment"> * @author J6 href="drriversoptrofile/cpu_bufffer.c66file        unsigned loeg ajax_prefscode= @auth_size_contents"a>o"> @auth_sizepa>
 = ajax_prefscode=="commen_"> * @auth_size_contents"a>o">opcommen_"> * @auth_sizepa>
t <7o/a>ospa> class="comment"> * @author J6ohn Levn6 v⁢levn le/cpu_bua>o6a> cl67file        unsigned loeg ajax_prefscode= yte_size_contents"a>o"> yte_sizepa>
 = ajax_prefscode= @auth_size_contents"a>o"> @auth_sizepa>
 * (sizeof(struct ajax_prefscode=="_samp e_contents"a>o">op_samp eL2" ) + <7o/a>ospa> class="comment"> * @author J6;>"><6/a>3<018/option>
  1alu6e="v368file                                                 ajax_prefscode=RB_EVENT_HDR_SIZE_contents"a>o">RB_EVENT_HDR_SIZEL2" )t <7o/a>ospa> class="comment"> * @author J69>"><69a>3<018/option>
  1alu69="v369L2"  <7o/a>ospa> class="comment"> * @author J70 href="70riversoptrofile/cpu_bu70="v370file        ajax_prefscode=="_rleg* @auth_contents"a>o">op_rleg* @authL2"  = ajax_prefscode=rleg* @auth_alloc_contents"a>o">rleg* @auth_allocpa>
(ajax_prefscode= yte_size_contents"a>o"> yte_sizepa>
, ajax_prefscode=OP_BUFFER_FLAGS_contents"a>o">OP_BUFFER_FLAGSL2" )t <7o/a>ospa> class="comment"> * @author J7a href="7driversoptrofile/cpu_bu7ffer.71file        if (!ajax_prefscode=op_rleg* @auth_contents"a>o">op_rleg* @authL2" ) <7o/a>ospa> class="comment"> * @author J7_buffer.7co/spa>
 o">failpa>
t <7o/a>ospa> class="comment"> * @author J7 href="d7riversoptrofile/cpu_buf7fer.c73L2"  <7o/a>ospa> class="comment"> * @author J7opyright7 2002-2009 OProfile aut7horso74file        ajax_prefscode=for_each_possiben_"> _contents"a>o">for_each_possiben_"> pa>
(ajax_prefscode=i_contents"a>o">ipa>
) { <7o/a>ospa> class="comment"> * @author J7ead the 7file COPYINGo/spa>
  * @auth_contents"a>o">opcommen_"> * @authpa>
 *ajax_prefscode=b_contents"a>o"> pa>
 = &ajax_prefscode=pth_"> _contents"a>o">pth_"> pa>
(ajax_prefscode=="_"> * @auth_contents"a>o">op_"> * @authpa>
, ajax_prefscode=i_contents"a>o">ipa>
)t <7o/a>ospa> class="comment"> * @author J7 href="d7riversoptrofile/cpu_buf7fer.c76L2"  <7o/a>ospa> class="comment"> * @author J7ohn Levn  v⁢levn le/cpu_bua>oaa> cl77file                ajax_prefscode=b_contents"a>o"> pa>
-> c/cjax_prefscode=ntet_task_contents"a>o">ntet_taskL2"  = ajax_prefscode=NULL_contents"a>o">NULLpa>
t <7o/a>ospa> class="comment"> * @author J7;>"><7/a>3<018/option>
  1alu7e="v378file                ajax_prefscode=b_contents"a>o"> pa>
-> c/cjax_prefscode=ntet_is_kernel_contents"a>o">ntet_is_kernelL2"  = -1t <7o/a>ospa> class="comment"> * @author J79>"><79a>3<018/option>
  1alu79="v379file                ajax_prefscode=b_contents"a>o"> pa>
-> c/cjax_prefscode=traci="+sontents"a>o">traci="L2"  = 0t <7o/a>ospa> class="comment"> * @author J80 href="80riversoptrofile/cpu_bu80="v380file                ajax_prefscode=b_contents"a>o"> pa>
-> c/cjax_prefscode= @auth_size_contents"a>o"> @auth_sizepa>
 = ajax_prefscode= @auth_size_contents"a>o"> @auth_sizepa>
t <7o/a>ospa> class="comment"> * @author J8a href="8driversoptrofile/cpu_bu8ffer.81file                ajax_prefscode=b_contents"a>o"> pa>
-> c/cjax_prefscode=samp e_rece cld_contents"a>o">samp e_rece cldL2"  = 0t <7o/a>ospa> class="comment"> * @author J8_buffer.8co/spa>
 o"> pa>
-> c/cjax_prefscode=samp e_laja_oclaflow_contents"a>o">samp e_laja_oclaflowpa>
 = 0t <7o/a>ospa> class="comment"> * @author J8 href="d8riversoptrofile/cpu_buf8fer.c83file                ajax_prefscode=b_contents"a>o"> pa>
-> c/cjax_prefscode= acktrace_abortld_contents"a>o"> acktrace_abortldpa>
 = 0t <7o/a>ospa> class="comment"> * @author J8opyright8 2002-2009 OProfile aut8horso84file                ajax_prefscode=b_contents"a>o"> pa>
-> c/cjax_prefscode=samp e_invalid_eip_contents"a>o">samp e_invalid_eippa>
 = 0t <7o/a>ospa> class="comment"> * @author J8ead the 8file COPYINGo/spa>
 o"> pa>
-> c/cjax_prefscode="> _contents"a>o">"> pa>
 = ajax_prefscode=i_contents"a>o">ipa>
t <7o/a>ospa> class="comment"> * @author J8 href="d8riversoptrofile/cpu_buf8fer.c86file                ajax_prefscode=INIT_DELAYED_WORK_contents"a>o">INIT_DELAYED_WORKpa>
(&ajax_prefscode=b_contents"a>o"> pa>
-> c/cjax_prefscode=work_contents"a>o">workpa>
, ajax_prefscode=wq_sync* @auth_contents"a>o">wq_sync* @authpa>
)t <7o/a>ospa> class="comment"> * @author J8ohn Levn8 v⁢levn le/cpu_bua>o8a> cl87file        } <7o/a>ospa> class="comment"> * @author J8;>">3<018/option>
  1aluee="v388file        ue="v">0t <7o/a>ospa> class="comment"> * @author J89>"><89a>3<018/option>
  1alu89="v389L2"  <7o/a>ospa> class="comment"> * @author J90 href="90riversoptrofile/cpu_bu90="v390pa>
 jax_prefscode=fail_contents"a>o">failpa>
: <7o/a>ospa> class="comment"> * @author J9a href="9driversoptrofile/cpu_bu9ffer.91file        ajax_prefscode=fa>n_"> * @auths_contents"a>o">fa>n_"> * @authspa>
()t <7o/a>ospa> class="comment"> * @author J9_buffer.9co/spa>
 -ajax_prefscode=ENOMEM_contents"a>o">ENOMEMpa>
t <7o/a>ospa> class="comment"> * @author J9 href="d9riversoptrofile/cpu_buf9fer.c93pa>
} <7o/a>ospa> class="comment"> * @author J9opyright9 2002-2009 OProfile aut9horso94L2"  <7o/a>ospa> class="comment"> * @author J9ead the 9file COPYINGo/spa>
  *work_contents"a>o">start_"> *workpa>
(void) <7o/a>ospa> class="comment"> * @author J9 href="d9riversoptrofile/cpu_buf9fer.c96L2" { <7o/a>ospa> class="comment"> * @author J9ohn Levn9 v⁢levn le/cpu_bua>o9a> cl97file        int ajax_prefscode=i_contents"a>o">ipa>
t <7o/a>ospa> class="comment"> * @author J9;>"><9/a>3<018/option>
  1alu9e="v398L2"  <7o/a>ospa> class="comment"> * @author J99>"><99a>3<018/option>
  1alu99="v399file        ajax_prefscode=work_enabled_contents"a>o">work_enabledL2"  = 1t <7o/a>ospa> class="comment"> * @author J100 href="d00riversoptrofile/cpu_buf00="vf00L2"  <7o/a>ospa> class="comment"> * @author J10a href="d0driversoptrofile/cpu_buf01="vf01file        ajax_prefscode=for_each_onrofi_"> _contents"a>o">for_each_onrofi_"> pa>
(ajax_prefscode=i_contents"a>o">ipa>
) { <7o/a>ospa> class="comment"> * @author J10_buffer.10co/spa>
  * @auth_contents"a>o">opcommen_"> * @authpa>
 *ajax_prefscode=b_contents"a>o"> pa>
 = &ajax_prefscode=pth_"> _contents"a>o">pth_"> pa>
(ajax_prefscode=="_"> * @auth_contents"a>o">op_"> * @authpa>
, ajax_prefscode=i_contents"a>o">ipa>
)t <7o/a>ospa> class="comment"> * @author J10 href="d10riversoptrofile/cpu_buf103="vf03L2"  <7o/a>ospa> class="comment"> * @author J10opyright10 2002-2009 OProfile aut104="vf04file                ad"vL2" class="line" namcpu_buu31 > 
 	 < <7o/a>ospa> class="comment"> * @author J10 href="d10riversoptrofile/cpu_buf106="vf0L7" id"vL7" class="line" nam................* fire at < < <7o/a>ospa> class="comment"> * @author J10ohn Levn10 v⁢levn le/cpu_bua>o107="vf0ss value="v321.31.3<1
	  >
 ................*/"vL7">< <7o/a>ospa> class="comment"> * @author J10;>"><10/a>3<018/option>
  1alu108="vf08file                ajax_prefscode=schlduen_delayed*work_on_contents"a>o">schlduen_delayed*work_onpa>
(ajax_prefscode=i_contents"a>o">ipa>
, &ajax_prefscode=b_contents"a>o"> pa>
-> c/cjax_prefscode=work_contents"a>o">workpa>
, ajax_prefscode=DEFAULT_TIMER_EXPIRE_contents"a>o">DEFAULT_TIMER_EXPIREL2"  + ajax_prefscode=i_contents"a>o">ipa>
)t <7o/a>ospa> class="comment"> * @author J109>"><109a>3<018/option>
  1alu109="vf09file        } <7o/a>ospa> class="comment"> * @author J110 href="dd0riversoptrofile/cpu_buff0="v1tion i} <7o/a>ospa> class="comment"> * @author J11a href="dddriversoptrofile/cpu_buff1="vf1#L2"  <7o/a>ospa> class="comment"> * @author J11_buffer.11co/spa>
  *work_contents"a>o">end_"> *workpa>
(void) <7o/a>ospa> class="comment"> * @author J11 href="d11riversoptrofile/cpu_buf11fer.113L2" { <7o/a>ospa> class="comment"> * @author J11opyright11 2002-2009 OProfile aut11hors114file        ajax_prefscode=work_enabled_contents"a>o">work_enabledL2"  = 0t <7o/a>ospa> class="comment"> * @author J11ead the 11file COPYINGo/spa>
 ospa> class="comment"> * @author J11 href="d11riversoptrofile/cpu_buf11fer.116L2"  <7o/a>ospa> class="comment"> * @author J11ohn Levn11 v⁢levn le/cpu_bua>o11a> c11ss vavoid ajax_prefscode=flush_"> *work_contents"a>o">flush_"> *workpa>
(void) <7o/a>ospa> class="comment"> * @author J11;>"><11/a>3<018/option>
  1alu11e="v1110154{ <7o/a>ospa> class="comment"> * @author J119>"><119a>3<018/option>
  1alu119="v119file        int ajax_prefscode=i_contents"a>o">ipa>
t <7o/a>ospa> class="comment"> * @author J120 href="120riversoptrofile/cpu_bu120="v120L2"  <7o/a>ospa> class="comment"> * @author J12a href="12driversoptrofile/cpu_bu12ffer121file        ajax_prefscode=for_each_onrofi_"> _contents"a>o">for_each_onrofi_"> pa>
(ajax_prefscode=i_contents"a>o">ipa>
) { <7o/a>ospa> class="comment"> * @author J12_buffer.1cco/spa>
  * @auth_contents"a>o">opcommen_"> * @authpa>
 *ajax_prefscode=b_contents"a>o"> pa>
 = &ajax_prefscode=pth_"> _contents"a>o">pth_"> pa>
(ajax_prefscode=="_"> * @auth_contents"a>o">op_"> * @authpa>
, ajax_prefscode=i_contents"a>o">ipa>
)t <7o/a>ospa> class="comment"> * @author J12 href="d12riversoptrofile/cpu_buf12fer.123L2"  <7o/a>ospa> class="comment"> * @author J12opyright12 2002-2009 OProfile aut12hors124file                ad"vL2" class="line" namclassssworks are pth-"> , no needcsea flush_sync.*/"vL7">< <7o/a>ospa> class="comment"> * @author J12ead the 12file COPYINGo/spa>
 o">flush_delayed*workpa>
(&ajax_prefscode=b_contents"a>o"> pa>
-> c/cjax_prefscode=work_contents"a>o">workpa>
)t <7o/a>ospa> class="comment"> * @author J12 href="d12riversoptrofile/cpu_buf12fer.126file        } <7o/a>ospa> class="comment"> * @author J12ohn Levn12 v⁢levn le/cpu_bua>o12a> c127file} <7o/a>ospa> class="comment"> * @author J12;>"><12/a>3<018/option>
  1alu12e="v128L2"  <7o/a>ospa> class="comment"> * @author J129>"><129a>3<018/option>
  1alu129="v1290154
	  >
  v3.1013 
 	 < <7o/a>ospa> class="comment"> * @author J1 a href="13driversoptrofile/cpu_bu13ffer13#L2" id"vL2" class="line" nn>"vL7">< <7o/a>ospa> class="comment"> * @author J1 _buffer.13co/spa>
 < <7o/a>ospa> class="comment"> * @author J1  href="d1rriversoptrofile/cpu_buf1ffer.13L4" id"vL4" class="line" nam= struct op_samp e /0"
aina lassdataclaat is stocld in
 assrlegL2L7">< <7o/a>ospa> class="comment"> * @author J1 opyright13 2002-2009 OProfile aut13hors13spa>
 < <7o/a>ospa> class="comment"> * @author J1 ead the 13file COPYINGo/spa>
 < <7o/a>ospa> class="comment"> * @author J1  href="d13riversoptrofile/cpu_buf13fer.13L7" id"vL7" class="line" nam= op_"> * @auth_write_"linit() aftertpr6pacleg  asssamp e. I7" asssof"vL5">< <5o/a>ospa> class="comment"> * @remark R13ohn Levn13 v⁢levn le/cpu_bua>o13a> c13ss value="v321.31.3<1
	  >
  verrors a null pointer is ue="v"ed, o asrwiseclas pointer toclas"vL5">< <5o/a>ospa> class="comment"> * @remark R13;>"><13/a>3<018/option>
  1alu13e="v1310154
	  >
  v3.1013
samp e."vL7">< <7o/a>ospa> class="comment"> * @author J1 9>"><139a>3<018/option>
  1alu139="v1390154
	  >
  v3.1013"vL7">< <7o/a>ospa> class="comment"> * @author J1o0 href="140riversoptrofile/cpu_bu140="v14ion id"vL7" class="line" nam=/"vL7">< <7o/a>ospa> class="comment"> * @author J14a href="14driversoptrofile/cpu_bu14ffer14#L2" struct ajax_prefscode=="_samp e_contents"a>o">op_samp eL2"  <7o/a>ospa> class="comment"> * @author J14_buffer.14co/spa>
  * @auth_write_claervl_contents"a>o">op_"> * @auth_write_claervlpa>
(struct ajax_prefscode=="_ idry_contents"a>o">op_ idrypa>
 *ajax_prefscode= idry_contents"a>o"> idrypa>
, unsigned loeg ajax_prefscode=size_contents"a>o">sizepa>
) <7o/a>ospa> class="comment"> * @author J14 href="d14riversoptrofile/cpu_buf14fer.143L2" { <7o/a>ospa> class="comment"> * @author J14opyright1  2002-2009 OProfile aut1hhors144file        ajax_prefscode= idry_contents"a>o"> idrypa>
-> c/cjax_prefscode=evne"_contents"a>o"> vne""v"  = ajax_prefscode=rleg* @auth_lock_claervl_contents"a>o">rleg* @auth_lock_claervlL2"  <7o/a>ospa> class="comment"> * @author J14ead the 14file COPYINGo/spa>
 o">op_rleg* @authL2" , sizeof(struct ajax_prefscode=="_samp e_contents"a>o">op_samp eL2" ) + <7o/a>ospa> class="comment"> * @author J14 href="d14riversoptrofile/cpu_buf14fer.146file                 ajax_prefscode=size_contents"a>o">sizepa>
n>
sizeof(ajax_prefscode= idry_contents"a>o"> idrypa>
-> c/cjax_prefscode=samp e_contents"a>o">samp eL2" -> c/cjax_prefscode=data_contents"a>o">dataL2" [0]))t <7o/a>ospa> class="comment"> * @author J14ohn Levn14 v⁢levn le/cpu_bua>o14a> c147file        if (!ajax_prefscode= idry_contents"a>o"> idrypa>
-> c/cjax_prefscode=evne"_contents"a>o"> vne""v" ) <7o/a>ospa> class="comment"> * @author J14;>"><14/a>3<018/option>
  1alu14e="v148file                ue="v">ajax_prefscode=NULL_contents"a>o">NULLpa>
t <7o/a>ospa> class="comment"> * @author J149>"><149a>3<018/option>
  1alu149="v149file        ajax_prefscode= idry_contents"a>o"> idrypa>
-> c/cjax_prefscode=samp e_contents"a>o">samp eL2"  = ajax_prefscode=rleg* @auth_evne"*data_contents"a>o">rleg* @auth_evne"*datapa>
(ajax_prefscode= idry_contents"a>o"> idrypa>
-> c/cjax_prefscode=evne"_contents"a>o"> vne""v" )t <7o/a>ospa> class="comment"> * @author J150 href="150riversoptrofile/cpu_bu150="v150file        ajax_prefscode= idry_contents"a>o"> idrypa>
-> c/cjax_prefscode=size_contents"a>o">sizepa>
n= ajax_prefscode=size_contents"a>o">sizepa>
t <7o/a>ospa> class="comment"> * @author J15a href="15driversoptrofile/cpu_bu15ffer151file        ajax_prefscode= idry_contents"a>o"> idrypa>
-> c/cjax_prefscode=data_contents"a>o">dataL2" n= ajax_prefscode= idry_contents"a>o"> idrypa>
-> c/cjax_prefscode=samp e_contents"a>o">samp eL2" -> c/cjax_prefscode=data_contents"a>o">dataL2" t <7o/a>ospa> class="comment"> * @author J15_buffer.15co/spa>
 ospa> class="comment"> * @author J15 href="d15riversoptrofile/cpu_buf15fer.153file        ue="v">ajax_prefscode= idry_contents"a>o"> idrypa>
-> c/cjax_prefscode=samp e_contents"a>o">samp eL2" t <7o/a>ospa> class="comment"> * @author J15opyright15 2002-2009 OProfile aut15hors15spa>
} <7o/a>ospa> class="comment"> * @author J15ead the 1ffile COPYINGo/spa>
 ospa> class="comment"> * @author J15 href="d15riversoptrofile/cpu_buf15fer.156fileint ajax_prefscode=op_"> * @auth_write_"linit_contents"a>o">op_"> * @auth_write_"linitpa>
(struct ajax_prefscode=="_ idry_contents"a>o">op_ idrypa>
 *ajax_prefscode= idry_contents"a>o"> idrypa>
) <7o/a>ospa> class="comment"> * @author J15ohn Levn15 v⁢levn le/cpu_bua>o15a> c157L2" { <7o/a>ospa> class="comment"> * @author J15;>"><15/a>3<018/option>
  1alu15e="v158file        ue="v">ajax_prefscode=rleg* @auth_unlock_"linit_contents"a>o">rleg* @auth_unlock_"linitpa>
(ajax_prefscode=="_rleg* @auth_contents"a>o">op_rleg* @authL2" , ajax_prefscode= idry_contents"a>o"> idrypa>
-> c/cjax_prefscode=evne"_contents"a>o"> vne""v" )t <7o/a>ospa> class="comment"> * @author J159>"><159a>3<018/option>
  1alu159="v159L2" } <7o/a>ospa> class="comment"> * @author J160 href="160riversoptrofile/cpu_bu160="v160L2"  <7o/a>ospa> class="comment"> * @author J16a href="16driversoptrofile/cpu_bu16ffer16#L2" struct ajax_prefscode=="_samp e_contents"a>o">op_samp eL2"  *ajax_prefscode=op_"> * @auth_r6" _ idry_contents"a>o">op_"> * @auth_r6" _ idrypa>
(struct ajax_prefscode=="_ idry_contents"a>o">op_ idrypa>
 *ajax_prefscode= idry_contents"a>o"> idrypa>
, int ajax_prefscode="> _contents"a>o">"> pa>
) <7o/a>ospa> class="comment"> * @author J16_buffer.16co/spa>
 ospa> class="comment"> * @author J16 href="d16riversoptrofile/cpu_buf16fer.163file        struct ajax_prefscode=rleg* @auth_evne"_contents"a>o">rleg* @auth_evne"pa>
 *ajax_prefscode= _contents"a>o"> L2" t <7o/a>ospa> class="comment"> * @author J16opyright16 2002-2009 OProfile aut16hors164file        ajax_prefscode= _contents"a>o"> L2"  = ajax_prefscode=rleg* @auth_clookml_contents"a>o">rleg* @auth_clookmlpa>
(ajax_prefscode=="_rleg* @auth_contents"a>o">op_rleg* @authL2" , ajax_prefscode="> _contents"a>o">"> pa>
, ajax_prefscode=NULL_contents"a>o">NULLpa>
, ajax_prefscode=NULL_contents"a>o">NULLpa>
)t <7o/a>ospa> class="comment"> * @author J16ead the 16file COPYINGo/spa>
 o"> L2" ) <7o/a>ospa> class="comment"> * @author J16 href="d1rriversoptrofile/cpu_buf1ffer.166file                ue="v">ajax_prefscode=NULL_contents"a>o">NULLpa>
t <7o/a>ospa> class="comment"> * @author J16ohn Levn16 v⁢levn le/cpu_bua>o16a> c167L2"  <7o/a>ospa> class="comment"> * @author J16;>"><16/a>3<018/option>
  1alu16e="v168file        ajax_prefscode= idry_contents"a>o"> idrypa>
-> c/cjax_prefscode=evne"_contents"a>o"> vne""v"  = ajax_prefscode= _contents"a>o"> L2" t <7o/a>ospa> class="comment"> * @author J169>"><169a>3<018/option>
  1alu169="v169file        ajax_prefscode= idry_contents"a>o"> idrypa>
-> c/cjax_prefscode=samp e_contents"a>o">samp eL2"  = ajax_prefscode=rleg* @auth_evne"*data_contents"a>o">rleg* @auth_evne"*datapa>
(ajax_prefscode= _contents"a>o"> L2" )t <7o/a>ospa> class="comment"> * @author J170 href="170riversoptrofile/cpu_bu170="v170file        ajax_prefscode= idry_contents"a>o"> idrypa>
-> c/cjax_prefscode=size_contents"a>o">sizepa>
n= (ajax_prefscode=rleg* @auth_evne"*length_contents"a>o">rleg* @auth_evne"*lengthpa>
(ajax_prefscode= _contents"a>o"> L2" ) - sizeof(struct ajax_prefscode=="_samp e_contents"a>o">op_samp eL2" )) <7o/a>ospa> class="comment"> * @author J17a href="17driversoptrofile/cpu_bu17ffer171file                /
sizeof(ajax_prefscode= idry_contents"a>o"> idrypa>
-> c/cjax_prefscode=samp e_contents"a>o">samp eL2" -> c/cjax_prefscode=data_contents"a>o">dataL2" [0])t <7o/a>ospa> class="comment"> * @author J17_buffer.17co/spa>
 o"> idrypa>
-> c/cjax_prefscode=data_contents"a>o">dataL2" n= ajax_prefscode= idry_contents"a>o"> idrypa>
-> c/cjax_prefscode=samp e_contents"a>o">samp eL2" -> c/cjax_prefscode=data_contents"a>o">dataL2" t <7o/a>ospa> class="comment"> * @author J17 href="d17riversoptrofile/cpu_buf17fer.173file        ue="v">ajax_prefscode= idry_contents"a>o"> idrypa>
-> c/cjax_prefscode=samp e_contents"a>o">samp eL2" t <7o/a>ospa> class="comment"> * @author J17opyright17 2002-2009 OProfile aut17hors17spa>
} <7o/a>ospa> class="comment"> * @author J17ead the 17file COPYINGo/spa>
 ospa> class="comment"> * @author J17 href="d17riversoptrofile/cpu_buf17fer.176L2" unsigned loeg ajax_prefscode=="_"> * @auth_ idries_contents"a>o">="_"> * @auth_ idriespa>
(int ajax_prefscode="> _contents"a>o">"> pa>
) <7o/a>ospa> class="comment"> * @author J17ohn Levn1  v⁢levn le/cpu_bua>o1aa> c177L2" { <7o/a>ospa> class="comment"> * @author J17;>"><17/a>3<018/option>
  1alu17e="v178file        ue="v">ajax_prefscode=rleg* @auth_ idries_"> _contents"a>o">rleg* @auth_ idries_"> pa>
(ajax_prefscode=="_rleg* @auth_contents"a>o">op_rleg* @authL2" , ajax_prefscode="> _contents"a>o">"> pa>
)t <7o/a>ospa> class="comment"> * @author J179>"><179a>3<018/option>
  1alu179="v179L2" } <7o/a>ospa> class="comment"> * @author J180 href="180riversoptrofile/cpu_bu180="v180L2"  <7o/a>ospa> class="comment"> * @author J18a href="18driversoptrofile/cpu_bu18ffer18#L2" st	  > int <7o/a>ospa> class="comment"> * @author J18_buffer.18co/spa>
 o">op_add_codepa>
(struct ajax_prefscode=="commen_"> * @auth_contents"a>o">opcommen_"> * @authpa>
 *ajax_prefscode="> * @a_contents"a>o">"> * @apa>
, unsigned loeg ajax_prefscode= acktrace_contents"a>o"> acktracepa>
, <7o/a>ospa> class="comment"> * @author J18 href="d18riversoptrofile/cpu_buf18fer.183file            int ajax_prefscode=is_kernel_contents"a>o">is_kernelL2" , struct ajax_prefscode=task_struct_contents"a>o">task_structpa>
 *ajax_prefscode=task_contents"a>o">taskL2" ) <7o/a>ospa> class="comment"> * @author J18opyright18 2002-2009 OProfile aut18hors184L2" { <7o/a>ospa> class="comment"> * @author J18ead the 18file COPYINGo/spa>
 o">op_ idrypa>
 ajax_prefscode= idry_contents"a>o"> idrypa>
t <7o/a>ospa> class="comment"> * @author J18 href="d18riversoptrofile/cpu_buf18fer.186file        struct ajax_prefscode=="_samp e_contents"a>o">op_samp eL2"  *ajax_prefscode=samp e_contents"a>o">samp eL2" t <7o/a>ospa> class="comment"> * @author J18ohn Levn18 v⁢levn le/cpu_bua>o18a> c187file        unsigned loeg ajax_prefscode=flags_contents"a>o">flagsL2" t <7o/a>ospa> class="comment"> * @author J18;>"><1//a>3<018/option>
  1alu1ee="v188file        int ajax_prefscode=size_contents"a>o">sizepa>
t <7o/a>ospa> class="comment"> * @author J189>"><189a>3<018/option>
  1alu189="v189L2"  <7o/a>ospa> class="comment"> * @author J190 href="190riversoptrofile/cpu_bu190="v190file        ajax_prefscode=flags_contents"a>o">flagsL2"  = 0t <7o/a>ospa> class="comment"> * @author J19a href="19driversoptrofile/cpu_bu19ffer19#L2"  <7o/a>ospa> class="comment"> * @author J19_buffer.19co/spa>
 o"> acktracepa>
) <7o/a>ospa> class="comment"> * @author J19 href="d19riversoptrofile/cpu_buf19fer.193file                ajax_prefscode=flags_contents"a>o">flagsL2"  |= ajax_prefscode=TRACE_BEGIN_contents"a>o">TRACE_BEGINpa>
t <7o/a>ospa> class="comment"> * @author J19opyright19 2002-2009 OProfile aut19hors194L2"  <7o/a>ospa> class="comment"> * @author J19ead the 19file COPYINGo/spa>
 eca switch from user-> c/kernel ea v >ecclasam=/"vL7">< <7o/a>ospa> class="comment"> * @author J19 href="d19riversoptrofile/cpu_buf19fer.196file        ajax_prefscode=is_kernel_contents"a>o">is_kernelL2"  = !!ajax_prefscode=is_kernel_contents"a>o">is_kernelL2" t <7o/a>ospa> class="comment"> * @author J19ohn Levn19 v⁢levn le/cpu_bua>o19a> c197file        if (ajax_prefscode="> * @a_contents"a>o">"> * @apa>
-> c/cjax_prefscode=ntet_is_kernel_contents"a>o">ntet_is_kernelL2"  != ajax_prefscode=is_kernel_contents"a>o">is_kernelL2" ) { <7o/a>ospa> class="comment"> * @author J19;>"><19/a>3<018/option>
  1alu19e="v198file                ajax_prefscode="> * @a_contents"a>o">"> * @apa>
-> c/cjax_prefscode=ntet_is_kernel_contents"a>o">ntet_is_kernelL2"  = ajax_prefscode=is_kernel_contents"a>o">is_kernelL2" t <7o/a>ospa> class="comment"> * @author J199>"><199a>3<018/option>
  1alu199="v199file                ajax_prefscode=flags_contents"a>o">flagsL2"  |= ajax_prefscode=KERNEL_CTX_SWITCH_contents"a>o">KERNEL_CTX_SWITCHL2" t <7o/a>ospa> class="comment"> * @author J200 href="200riversoptrofile/cpu_bu200="v200file                if (ajax_prefscode=is_kernel_contents"a>o">is_kernelL2" ) <7o/a>ospa> class="comment"> * @author J20a href="20driversoptrofile/cpu_bu201="v201file                        ajax_prefscode=flags_contents"a>o">flagsL2"  |= ajax_prefscode=IS_KERNEL_contents"a>o">IS_KERNELL2" t <7o/a>ospa> class="comment"> * @author J20_buffer.c0co/spa>
 ospa> class="comment"> * @author J20 href="d20riversoptrofile/cpu_buf203="v203L2"  <7o/a>ospa> class="comment"> * @author J20opyright20 2002-2009 OProfile aut204="v204file        ad"vL2" class="line" namcno  >eca task switch =/"vL7">< <7o/a>ospa> class="comment"> * @author J20ead the 20file COPYINGo/spa>
  * @a_contents"a>o">"> * @apa>
-> c/cjax_prefscode=ntet_task_contents"a>o">ntet_taskL2"  != ajax_prefscode=task_contents"a>o">taskL2" ) { <7o/a>ospa> class="comment"> * @author J20 href="d20riversoptrofile/cpu_buf206="v206file                ajax_prefscode="> * @a_contents"a>o">"> * @apa>
-> c/cjax_prefscode=ntet_task_contents"a>o">ntet_taskL2"  = ajax_prefscode=task_contents"a>o">taskL2" t <7o/a>ospa> class="comment"> * @author J20ohn Levn20 v⁢levn le/cpu_bua>o207="v207file                ajax_prefscode=flags_contents"a>o">flagsL2"  |= ajax_prefscode=USER_CTX_SWITCH_contents"a>o">USER_CTX_SWITCHL2" t <7o/a>ospa> class="comment"> * @author J20;>"><20/a>3<018/option>
  1alu208="v208file        } <7o/a>ospa> class="comment"> * @author J209>"><209a>3<018/option>
  1alu209="v209L2"  <7o/a>ospa> class="comment"> * @author J210 href="2d0riversoptrofile/cpu_bu2f0="v210file        if (!ajax_prefscode=flags_contents"a>o">flagsL2" ) <7o/a>ospa> class="comment"> * @author J21a href="2ddriversoptrofile/cpu_bu2f1="v211file                ad"vL2" class="line" namcno hleg  o do =/"vL7">< <7o/a>ospa> class="comment"> * @author J21_buffer.21co/spa>
 0t <7o/a>ospa> class="comment"> * @author J21 href="d21riversoptrofile/cpu_buf21fer.213L2"  <7o/a>ospa> class="comment"> * @author J21opyright21 2002-2009 OProfile aut21hors214file        if (ajax_prefscode=flags_contents"a>o">flagsL2"  & ajax_prefscode=USER_CTX_SWITCH_contents"a>o">USER_CTX_SWITCHL2" ) <7o/a>ospa> class="comment"> * @author J21ead the 21file COPYINGo/spa>
 o">sizepa>
n= 1t <7o/a>ospa> class="comment"> * @author J21 href="d21riversoptrofile/cpu_buf21fer.216file        else <7o/a>ospa> class="comment"> * @author J21ohn Levn21 v⁢levn le/cpu_bua>o21a> c217file                ajax_prefscode=size_contents"a>o">sizepa>
n= 0t <7o/a>ospa> class="comment"> * @author J21;>"><21/a>3<018/option>
  1alu21e="v218L2"  <7o/a>ospa> class="comment"> * @author J219>"><219a>3<018/option>
  1alu219="v219file        ajax_prefscode=samp e_contents"a>o">samp eL2"  = ajax_prefscode=op_"> * @auth_write_claervl_contents"a>o">op_"> * @auth_write_claervlpa>
(&ajax_prefscode= idry_contents"a>o"> idrypa>
, ajax_prefscode=size_contents"a>o">sizepa>
)t <7o/a>ospa> class="comment"> * @author J220 href="220riversoptrofile/cpu_bu220="v220file        if (!ajax_prefscode=samp e_contents"a>o">samp eL2" ) <7o/a>ospa> class="comment"> * @author J22a href="22driversoptrofile/cpu_bu22ffer221file                ue="v">-ajax_prefscode=ENOMEM_contents"a>o">ENOMEMpa>
t <7o/a>ospa> class="comment"> * @author J22_buffer.2cco/spa>
 ospa> class="comment"> * @author J22 href="d22riversoptrofile/cpu_buf22fer.223file        ajax_prefscode=samp e_contents"a>o">samp eL2" -> c/cjax_prefscode=eip_contents"a>o">eippa>
 = ajax_prefscode=ESCAPE_CODE_contents"a>o">ESCAPE_CODEpa>
t <7o/a>ospa> class="comment"> * @author J22opyright22 2002-2009 OProfile aut22hors224file        ajax_prefscode=samp e_contents"a>o">samp eL2" -> c/cjax_prefscode=evne"_contents"a>o"> vne""v"  = ajax_prefscode=flags_contents"a>o">flagsL2" t <7o/a>ospa> class="comment"> * @author J22ead the 22file COPYINGo/spa>
 ospa> class="comment"> * @author J22 href="d22riversoptrofile/cpu_buf22fer.226file        if (ajax_prefscode=size_contents"a>o">sizepa>
) <7o/a>ospa> class="comment"> * @author J22ohn Levn22 v⁢levn le/cpu_bua>o22a> c227file                ajax_prefscode=op_"> * @auth_add_data_contents"a>o">op_"> * @auth_add_datapa>
(&ajax_prefscode= idry_contents"a>o"> idrypa>
, (unsigned loeg)ajax_prefscode=task_contents"a>o">taskL2" )t <7o/a>ospa> class="comment"> * @author J22;>"><22/a>3<018/option>
  1alu22e="v228L2"  <7o/a>ospa> class="comment"> * @author J229>"><229a>3<018/option>
  1alu229="v229file        ajax_prefscode=op_"> * @auth_write_"linit_contents"a>o">op_"> * @auth_write_"linitpa>
(&ajax_prefscode= idry_contents"a>o"> idrypa>
)t <7o/a>ospa> class="comment"> * @author J230 href="230riversoptrofile/cpu_bu230="v230L2"  <7o/a>ospa> class="comment"> * @author J2 a href="23driversoptrofile/cpu_bu23ffer231file        ue="v">0t <7o/a>ospa> class="comment"> * @author J2 _buffer.23co/spa>
  * @author J2  href="d2rriversoptrofile/cpu_buf2ffer.233L2"  <7o/a>ospa> class="comment"> * @author J2 opyright23 2002-2009 OProfile aut23hors23spa>
st	  > ajax_prefscode=in OProfontents"a>o">in OPrfile int <7o/a>ospa> class="comment"> * @author J2 ead the 23file COPYINGo/spa>
 o">op_add_samp epa>
(struct ajax_prefscode=="commen_"> * @auth_contents"a>o">opcommen_"> * @authpa>
 *ajax_prefscode="> * @a_contents"a>o">"> * @apa>
, <7o/a>ospa> class="comment"> * @author J2  href="d23riversoptrofile/cpu_buf23fer.236file              unsigned loeg ajax_prefscode=pc_contents"a>o">pcpa>
, unsigned loeg ajax_prefscode=evne"_contents"a>o"> vne""v" ) <7o/a>ospa> class="comment"> * @author J23ohn Levn23 v⁢levn le/cpu_bua>o23a> c237L2" { <7o/a>ospa> class="comment"> * @author J23;>"><23/a>3<018/option>
  1alu23e="v238file        struct ajax_prefscode=="_ idry_contents"a>o">op_ idrypa>
 ajax_prefscode= idry_contents"a>o"> idrypa>
t <7o/a>ospa> class="comment"> * @author J2 9>"><239a>3<018/option>
  1alu239="v239file        struct ajax_prefscode=="_samp e_contents"a>o">op_samp eL2"  *ajax_prefscode=samp e_contents"a>o">samp eL2" t <7o/a>ospa> class="comment"> * @author J2o0 href="240riversoptrofile/cpu_bu240="v240L2"  <7o/a>ospa> class="comment"> * @author J24a href="24driversoptrofile/cpu_bu24ffer241file        ajax_prefscode=samp e_contents"a>o">samp eL2"  = ajax_prefscode=op_"> * @auth_write_claervl_contents"a>o">op_"> * @auth_write_claervlpa>
(&ajax_prefscode= idry_contents"a>o"> idrypa>
, 0)t <7o/a>ospa> class="comment"> * @author J24_buffer.24co/spa>
 o">samp eL2" ) <7o/a>ospa> class="comment"> * @author J24 href="d24riversoptrofile/cpu_buf24fer.243file                ue="v">-ajax_prefscode=ENOMEM_contents"a>o">ENOMEMpa>
t <7o/a>ospa> class="comment"> * @author J24opyright2  2002-2009 OProfile aut2hhors244L2"  <7o/a>ospa> class="comment"> * @author J24ead the 24file COPYINGo/spa>
 o">samp eL2" -> c/cjax_prefscode=eip_contents"a>o">eippa>
 = ajax_prefscode=pc_contents"a>o">pcpa>
t <7o/a>ospa> class="comment"> * @author J24 href="d24riversoptrofile/cpu_buf24fer.246file        ajax_prefscode=samp e_contents"a>o">samp eL2" -> c/cjax_prefscode=evne"_contents"a>o"> vne""v"  = ajax_prefscode=evne"_contents"a>o"> vne""v" t <7o/a>ospa> class="comment"> * @author J24ohn Levn24 v⁢levn le/cpu_bua>o24a> c247L2"  <7o/a>ospa> class="comment"> * @author J24;>"><24/a>3<018/option>
  1alu24e="v248file        ue="v">ajax_prefscode=op_"> * @auth_write_"linit_contents"a>o">op_"> * @auth_write_"linitpa>
(&ajax_prefscode= idry_contents"a>o"> idrypa>
)t <7o/a>ospa> class="comment"> * @author J249>"><249a>3<018/option>
  1alu249="v249L2" } <7o/a>ospa> class="comment"> * @author J250 href="250riversoptrofile/cpu_bu250="v250L2"  <7o/a>ospa> class="comment"> * @author J25a href="25driversoptrofile/cpu_bu25ffer25#L2" id"vL2" class="line" namcpu_buu31 > 
 	 < <7o/a>ospa> class="comment"> * @author J25 href="d25riversoptrofile/cpu_buf25fer.25L4" id"vL4" class="line" nam="vL7">< <7o/a>ospa> class="comment"> * @author J25opyright25 2002-2009 OProfile aut25hors25spa>
 < <7o/a>ospa> class="comment"> * @author J25ead the 2ffile COPYINGo/spa>
 < <7o/a>ospa> class="comment"> * @author J25 href="d25riversoptrofile/cpu_buf25fer.25L7" id"vL7" class="line" nam= pc. We tag  ais in
 ass @auth by genera/feg kernel enter/exit"vL7">< <7o/a>ospa> class="comment"> * @author J25ohn Levn25 v⁢levn le/cpu_bua>o25a> c25ss value="v321.31.3<1
	  >
  vevne"s whenever is_kernel changespaL7">< <7o/a>ospa> class="comment"> * @author J25;>"><25/a>3<018/option>
  1alu25e="v2510154
	  >
  v3.1013/"vL7">< <7o/a>ospa> class="comment"> * @author J259>"><259a>3<018/option>
  1alu259="v259L2" st	  > int <7o/a>ospa> class="comment"> * @author J260 href="260riversoptrofile/cpu_bu260="v260pa>
 jax_prefscode=log_samp e_contents"a>o">log_samp epa>
(struct ajax_prefscode=="commen_"> * @auth_contents"a>o">opcommen_"> * @authpa>
 *ajax_prefscode="> * @a_contents"a>o">"> * @apa>
, unsigned loeg ajax_prefscode=pc_contents"a>o">pcpa>
, <7o/a>ospa> class="comment"> * @author J26a href="26driversoptrofile/cpu_bu26ffer261file           unsigned loeg ajax_prefscode= acktrace_contents"a>o"> acktracepa>
, int ajax_prefscode=is_kernel_contents"a>o">is_kernelL2" , unsigned loeg ajax_prefscode=evne"_contents"a>o"> vne""v" , <7o/a>ospa> class="comment"> * @author J26_buffer.26co/spa>
 o">task_structpa>
 *ajax_prefscode=task_contents"a>o">taskL2" ) <7o/a>ospa> class="comment"> * @author J26 href="d26riversoptrofile/cpu_buf26fer.263L2" { <7o/a>ospa> class="comment"> * @author J26opyright26 2002-2009 OProfile aut26hors264file        struct ajax_prefscode=task_struct_contents"a>o">task_structpa>
 *ajax_prefscode=tsk_contents"a>o">tskL2"  = ajax_prefscode=task_contents"a>o">taskL2"  ? ajax_prefscode=task_contents"a>o">taskL2"  : ajax_prefscode="urrne"_contents"a>o">"urrne""v" t <7o/a>ospa> class="comment"> * @author J26ead the 26file COPYINGo/spa>
 o">"> * @apa>
-> c/cjax_prefscode=samp e_rece cld_contents"a>o">samp e_rece cldL2" ++t <7o/a>ospa> class="comment"> * @author J26 href="d2rriversoptrofile/cpu_buf2ffer.266L2"  <7o/a>ospa> class="comment"> * @author J26ohn Levn26 v⁢levn le/cpu_bua>o26a> c267file        if (ajax_prefscode=pc_contents"a>o">pcpa>
 == ajax_prefscode=ESCAPE_CODE_contents"a>o">ESCAPE_CODEpa>
) { <7o/a>ospa> class="comment"> * @author J26;>"><26/a>3<018/option>
  1alu26e="v268file                ajax_prefscode="> * @a_contents"a>o">"> * @apa>
-> c/cjax_prefscode=samp e_invalid_eip_contents"a>o">samp e_invalid_eippa>
++t <7o/a>ospa> class="comment"> * @author J269>"><269a>3<018/option>
  1alu269="v269file                ue="v">0t <7o/a>ospa> class="comment"> * @author J270 href="270riversoptrofile/cpu_bu270="v270file        } <7o/a>ospa> class="comment"> * @author J27a href="27driversoptrofile/cpu_bu27ffer27#L2"  <7o/a>ospa> class="comment"> * @author J27_buffer.27co/spa>
 o">op_add_codepa>
(ajax_prefscode="> * @a_contents"a>o">"> * @apa>
, ajax_prefscode= acktrace_contents"a>o"> acktracepa>
, ajax_prefscode=is_kernel_contents"a>o">is_kernelL2" , ajax_prefscode=tsk_contents"a>o">tskL2" )) <7o/a>ospa> class="comment"> * @author J27 href="d27riversoptrofile/cpu_buf27fer.273file                goto ajax_prefscode=fail_contents"a>o">failpa>
t <7o/a>ospa> class="comment"> * @author J27opyright27 2002-2009 OProfile aut27hors274L2"  <7o/a>ospa> class="comment"> * @author J27ead the 27file COPYINGo/spa>
 o">op_add_samp epa>
(ajax_prefscode="> * @a_contents"a>o">"> * @apa>
, ajax_prefscode=pc_contents"a>o">pcpa>
, ajax_prefscode=evne"_contents"a>o"> vne""v" )) <7o/a>ospa> class="comment"> * @author J27 href="d27riversoptrofile/cpu_buf27fer.276file                goto ajax_prefscode=fail_contents"a>o">failpa>
t <7o/a>ospa> class="comment"> * @author J27ohn Levn2  v⁢levn le/cpu_bua>o2aa> c277L2"  <7o/a>ospa> class="comment"> * @author J27;>"><27/a>3<018/option>
  1alu27e="v278file        ue="v">1t <7o/a>ospa> class="comment"> * @author J279>"><279a>3<018/option>
  1alu279="v279L2"  <7o/a>ospa> class="comment"> * @author J280 href="280riversoptrofile/cpu_bu280="v280pa>
 jax_prefscode=fail_contents"a>o">failpa>
: <7o/a>ospa> class="comment"> * @author J28a href="28driversoptrofile/cpu_bu28ffer281file        ajax_prefscode="> * @a_contents"a>o">"> * @apa>
-> c/cjax_prefscode=samp e_lost_oclaflow_contents"a>o">samp e_lost_oclaflowpa>
++t <7o/a>ospa> class="comment"> * @author J28_buffer.28co/spa>
 0t <7o/a>ospa> class="comment"> * @author J28 href="d28riversoptrofile/cpu_buf28fer.283pa>
} <7o/a>ospa> class="comment"> * @author J28opyright28 2002-2009 OProfile aut28hors284L2"  <7o/a>ospa> class="comment"> * @author J28ead the 28file COPYINGo/spa>
  ajax_prefscode=in OProfontents"a>o">in OPrfile void ajax_prefscode=opcommen_begin_trace_contents"a>o">opcommen_begin_tracepa>
(struct ajax_prefscode=="commen_"> * @auth_contents"a>o">opcommen_"> * @authpa>
 *ajax_prefscode="> * @a_contents"a>o">"> * @apa>
) <7o/a>ospa> class="comment"> * @author J28 href="d28riversoptrofile/cpu_buf28fer.286file{ <7o/a>ospa> class="comment"> * @author J28ohn Levn28 v⁢levn le/cpu_bua>o28a> c287file        ajax_prefscode="> * @a_contents"a>o">"> * @apa>
-> c/cjax_prefscode=tracing_contents"a>o">tracingL2"  = 1t <7o/a>ospa> class="comment"> * @author J28;>"><2//a>3<018/option>
  1alu2ee="v288file} <7o/a>ospa> class="comment"> * @author J289>"><289a>3<018/option>
  1alu289="v289L2"  <7o/a>ospa> class="comment"> * @author J290 href="290riversoptrofile/cpu_bu290="v290filest	  > ajax_prefscode=in OProfontents"a>o">in OPrfile void ajax_prefscode=opcommen_end_trace_contents"a>o">opcommen_end_tracepa>
(struct ajax_prefscode=="commen_"> * @auth_contents"a>o">opcommen_"> * @authpa>
 *ajax_prefscode="> * @a_contents"a>o">"> * @apa>
) <7o/a>ospa> class="comment"> * @author J29a href="29driversoptrofile/cpu_bu29ffer29#L2" { <7o/a>ospa> class="comment"> * @author J29_buffer.29co/spa>
  * @a_contents"a>o">"> * @apa>
-> c/cjax_prefscode=tracing_contents"a>o">tracingL2"  = 0t <7o/a>ospa> class="comment"> * @author J29 href="d29riversoptrofile/cpu_buf29fer.293pa>
} <7o/a>ospa> class="comment"> * @author J29opyright29 2002-2009 OProfile aut29hors294L2"  <7o/a>ospa> class="comment"> * @author J29ead the 29file COPYINGo/spa>
  ajax_prefscode=in OProfontents"a>o">in OPrfile void <7o/a>ospa> class="comment"> * @author J29 href="d29riversoptrofile/cpu_buf29fer.296fileajax_prefscode=__opcommen_add_ext_samp e_contents"a>o">__opcommen_add_ext_samp epa>
(unsigned loeg ajax_prefscode=pc_contents"a>o">pcpa>
, struct ajax_prefscode=pt_regs_contents"a>o">pt_regspa>
 * /0"st ajax_prefscode=regs_contents"a>o">regspa>
, <7o/a>ospa> class="comment"> * @author J29ohn Levn29 v⁢levn le/cpu_bua>o29a> c297file                          unsigned loeg ajax_prefscode=evne"_contents"a>o"> vne""v" , int ajax_prefscode=is_kernel_contents"a>o">is_kernelL2" , <7o/a>ospa> class="comment"> * @author J29;>"><29/a>3<018/option>
  1alu29e="v298file                          struct ajax_prefscode=task_struct_contents"a>o">task_structpa>
 *ajax_prefscode=task_contents"a>o">taskL2" ) <7o/a>ospa> class="comment"> * @author J299>"><299a>3<018/option>
  1alu299="v299file{ <7o/a>ospa> class="comment"> * @author J300 href="300riversoptrofile/cpu_bu300="v300file        struct ajax_prefscode=="commen_"> * @auth_contents"a>o">opcommen_"> * @authpa>
 *ajax_prefscode="> * @a_contents"a>o">"> * @apa>
 = &ajax_prefscode=__get_"> *vah_contents"a>o">__get_"> *vahpa>
(ajax_prefscode=="_"> * @auth_contents"a>o">op_"> * @authpa>
)t <7o/a>ospa> class="comment"> * @author J30a href="30driversoptrofile/cpu_bu301="v301file        unsigned loeg ajax_prefscode= acktrace_contents"a>o"> acktracepa>
 = ajax_prefscode=opcommen_backtrace_depth_contents"a>o">opcommen_backtrace_depthpa>
t <7o/a>ospa> class="comment"> * @author J30_buffer.30co/spa>
 ospa> class="comment"> * @author J30 href="d30riversoptrofile/cpu_buf303="v303file        ad"vL2" class="line" namcpu_buu31 > 
 	 
 < <5o/a>ospa> class="comment"> * @remark R30ead the 30file COPYINGo/spa>
 < <5o/a>ospa> class="comment"> * @remark R306ad the 30riversoptrofile/cpu_buf306="v30L7" id"vL7" class="line" namffffffff*/"vL7">< <7o/a>ospa> class="comment"> * @author J30ohn Levn30 v⁢levn le/cpu_bua>o307="v307file        if (!ajax_prefscode=log_samp e_contents"a>o">log_samp epa>
(ajax_prefscode="> * @a_contents"a>o">"> * @apa>
, ajax_prefscode=pc_contents"a>o">pcpa>
, ajax_prefscode= acktrace_contents"a>o"> acktracepa>
, ajax_prefscode=is_kernel_contents"a>o">is_kernelL2" , ajax_prefscode=evne"_contents"a>o"> vne""v" , ajax_prefscode=task_contents"a>o">taskL2" )) <7o/a>ospa> class="comment"> * @author J30;>"><30/a>3<018/option>
  1alu308="v308file                ad"vL2" class="line" namcfailed */"vL7">< <7o/a>ospa> class="comment"> * @author J309>"><309a>3<018/option>
  1alu309="v309file                ue="v"t <7o/a>ospa> class="comment"> * @author J310 href="3d0riversoptrofile/cpu_bu3f0="v310L2"  <7o/a>ospa> class="comment"> * @author J31a href="3ddriversoptrofile/cpu_bu3f1="v311file        if (!ajax_prefscode= acktrace_contents"a>o"> acktracepa>
) <7o/a>ospa> class="comment"> * @author J31_buffer.31co/spa>
 ospa> class="comment"> * @author J31 href="d31riversoptrofile/cpu_buf31fer.313L2"  <7o/a>ospa> class="comment"> * @author J31opyright31 2002-2009 OProfile aut31hors314file        ajax_prefscode=opcommen_begin_trace_contents"a>o">opcommen_begin_tracepa>
(ajax_prefscode="> * @a_contents"a>o">"> * @apa>
)t <7o/a>ospa> class="comment"> * @author J31ead the 31file COPYINGo/spa>
 o">="commen_opsfile.ajax_prefscode= acktrace_contents"a>o"> acktracepa>
(ajax_prefscode=regs_contents"a>o">regspa>
, ajax_prefscode= acktrace_contents"a>o"> acktracepa>
)t <7o/a>ospa> class="comment"> * @author J316ad the 31riversoptrofile/cpu_buf31fer.316file        ajax_prefscode=opcommen_end_trace_contents"a>o">opcommen_end_tracepa>
(ajax_prefscode="> * @a_contents"a>o">"> * @apa>
)t <7o/a>ospa> class="comment"> * @author J31ohn Levn31 v⁢levn le/cpu_bua>o31a> c317file} <7o/a>ospa> class="comment"> * @author J31;>"><31/a>3<018/option>
  1alu31e="v318L2"  <7o/a>ospa> class="comment"> * @author J319>"><319a>3<018/option>
  1alu319="v319filevoid ajax_prefscode=opcommen_add_ext_hw_samp e_contents"a>o">opcommen_add_ext_hw_samp epa>
(unsigned loeg ajax_prefscode=pc_contents"a>o">pcpa>
, struct ajax_prefscode=pt_regs_contents"a>o">pt_regspa>
 * /0"st ajax_prefscode=regs_contents"a>o">regspa>
, <7o/a>ospa> class="comment"> * @author J320 href="320riversoptrofile/cpu_bu320="v320file                                unsigned loeg ajax_prefscode=evne"_contents"a>o"> vne""v" , int ajax_prefscode=is_kernel_contents"a>o">is_kernelL2" , <7o/a>ospa> class="comment"> * @author J32a href="32driversoptrofile/cpu_bu32ffer321file                                struct ajax_prefscode=task_struct_contents"a>o">task_structpa>
 *ajax_prefscode=task_contents"a>o">taskL2" ) <7o/a>ospa> class="comment"> * @author J32_buffer.3cco/spa>
 ospa> class="comment"> * @author J32 href="d32riversoptrofile/cpu_buf32fer.323file        ajax_prefscode=__opcommen_add_ext_samp e_contents"a>o">__opcommen_add_ext_samp epa>
(ajax_prefscode=pc_contents"a>o">pcpa>
, ajax_prefscode=regs_contents"a>o">regspa>
, ajax_prefscode=evne"_contents"a>o"> vne""v" , ajax_prefscode=is_kernel_contents"a>o">is_kernelL2" , ajax_prefscode=task_contents"a>o">taskL2" )t <7o/a>ospa> class="comment"> * @author J32opyright32 2002-2009 OProfile aut32hors32spa>
} <7o/a>ospa> class="comment"> * @author J32ead the 32file COPYINGo/spa>
 ospa> class="comment"> * @author J32 href="d32riversoptrofile/cpu_buf32fer.326filevoid ajax_prefscode=opcommen_add_ext_samp e_contents"a>o">opcommen_add_ext_samp epa>
(unsigned loeg ajax_prefscode=pc_contents"a>o">pcpa>
, struct ajax_prefscode=pt_regs_contents"a>o">pt_regspa>
 * /0"st ajax_prefscode=regs_contents"a>o">regspa>
, <7o/a>ospa> class="comment"> * @author J32ohn Levn32 v⁢levn le/cpu_bua>o32a> c327file                             unsigned loeg ajax_prefscode=evne"_contents"a>o"> vne""v" , int ajax_prefscode=is_kernel_contents"a>o">is_kernelL2" ) <7o/a>ospa> class="comment"> * @author J32;>"><32/a>3<018/option>
  1alu32e="v328L2" { <7o/a>ospa> class="comment"> * @author J329>"><329a>3<018/option>
  1alu329="v329file        ajax_prefscode=__opcommen_add_ext_samp e_contents"a>o">__opcommen_add_ext_samp epa>
(ajax_prefscode=pc_contents"a>o">pcpa>
, ajax_prefscode=regs_contents"a>o">regspa>
, ajax_prefscode=evne"_contents"a>o"> vne""v" , ajax_prefscode=is_kernel_contents"a>o">is_kernelL2" , ajax_prefscode=NULL_contents"a>o">NULLpa>
)t <7o/a>ospa> class="comment"> * @author J330 href="330riversoptrofile/cpu_bu330="v330L2" } <7o/a>ospa> class="comment"> * @author J3 a href="33driversoptrofile/cpu_bu33ffer33#L2"  <7o/a>ospa> class="comment"> * @author J3 _buffer.33co/spa>
 o">opcommen_add_samp epa>
(struct ajax_prefscode=pt_regs_contents"a>o">pt_regspa>
 * /0"st ajax_prefscode=regs_contents"a>o">regspa>
, unsigned loeg ajax_prefscode=evne"_contents"a>o"> vne""v" ) <7o/a>ospa> class="comment"> * @author J3  href="d3rriversoptrofile/cpu_buf3ffer.333L2" { <7o/a>ospa> class="comment"> * @author J3 opyright33 2002-2009 OProfile aut33hors334file        int ajax_prefscode=is_kernel_contents"a>o">is_kernelL2" t <7o/a>ospa> class="comment"> * @author J33ead the 33file COPYINGo/spa>
 o">pcpa>
t <7o/a>ospa> class="comment"> * @author J33 href="d33riversoptrofile/cpu_buf33fer.336L2"  <7o/a>ospa> class="comment"> * @author J33ohn Levn33 v⁢levn le/cpu_bua>o33a> c337file        if (ajax_prefscode=likely_contents"a>o">likelypa>
(ajax_prefscode=regs_contents"a>o">regspa>
)) { <7o/a>ospa> class="comment"> * @author J33;>"><33/a>3<018/option>
  1alu33e="v338file                ajax_prefscode=is_kernel_contents"a>o">is_kernelL2"  = !ajax_prefscode=user_mode_contents"a>o">user_modepa>
(ajax_prefscode=regs_contents"a>o">regspa>
)t <7o/a>ospa> class="comment"> * @author J339>"><339a>3<018/option>
  1alu339="v339file                ajax_prefscode=pc_contents"a>o">pcpa>
 = ajax_prefscode=pcommen_pc_contents"a>o">pcommen_pcpa>
(ajax_prefscode=regs_contents"a>o">regspa>
)t <7o/a>ospa> class="comment"> * @author J3o0 href="340riversoptrofile/cpu_bu340="v340file        } else { <7o/a>ospa> class="comment"> * @author J34a href="34driversoptrofile/cpu_bu34ffer341file                ajax_prefscode=is_kernel_contents"a>o">is_kernelL2"  = 0;    ad"vL2" class="line" namcThis value willcno rbe used */"vL7">< <7o/a>ospa> class="comment"> * @author J34_buffer.34co/spa>
 o">pcpa>
 = ajax_prefscode=ESCAPE_CODE_contents"a>o">ESCAPE_CODEpa>
t ad"vL2" class="line" namcas  ais causss vL2early ue="v". */"vL7">< <7o/a>ospa> class="comment"> * @author J34 href="d34riversoptrofile/cpu_buf34fer.343file        } <7o/a>ospa> class="comment"> * @author J34opyright3  2002-2009 OProfile aut3hhors344L2"  <7o/a>ospa> class="comment"> * @author J34ead the 34file COPYINGo/spa>
 o">__opcommen_add_ext_samp epa>
(ajax_prefscode=pc_contents"a>o">pcpa>
, ajax_prefscode=regs_contents"a>o">regspa>
, ajax_prefscode=evne"_contents"a>o"> vne""v" , ajax_prefscode=is_kernel_contents"a>o">is_kernelL2" , ajax_prefscode=NULL_contents"a>o">NULLpa>
)t <7o/a>ospa> class="comment"> * @author J34 href="d34riversoptrofile/cpu_buf34fer.346file} <7o/a>ospa> class="comment"> * @author J34ohn Levn34 v⁢levn le/cpu_bua>o34a> c347L2"  <7o/a>ospa> class="comment"> * @author J34;>"><34/a>3<018/option>
  1alu34e="v3410154
	  >
  v3.1013 
 	 <349a>3<018/option>
  1alu349="v349L2" lue="v321.31.3<1
	  >
  vAdd samp es with data  o  assrlegs @auth."vL7">< <7o/a>ospa> class="comment"> * @author J350 href="350riversoptrofile/cpu_bu350="v350L2" d"vL4" class="line" nam="vL7">< <7o/a>ospa> class="comment"> * @author J35a href="35driversoptrofile/cpu_bu35ffer35#L2" id"vL2" class="line" n  vUsssopcommen_add_data(& idry, val)  o add data and"vL7">< <7o/a>ospa> class="comment"> * @author J35_buffer.35co/spa>
 < <7o/a>ospa> class="comment"> * @author J35 href="d35riversoptrofile/cpu_buf35fer.35L4" id"vL4" class="line" nam=/"vL7">< <7o/a>ospa> class="comment"> * @author J35opyright35 2002-2009 OProfile aut35hors35spa>
void <7o/a>ospa> class="comment"> * @author J35ead the 3ffile COPYINGo/spa>
 o">opcommen_write_claervlpa>
(struct ajax_prefscode=="_ idry_contents"a>o">op_ idrypa>
 *ajax_prefscode= idry_contents"a>o"> idrypa>
, struct ajax_prefscode=pt_regs_contents"a>o">pt_regspa>
 * /0"st ajax_prefscode=regs_contents"a>o">regspa>
, <7o/a>ospa> class="comment"> * @author J35 href="d35riversoptrofile/cpu_buf35fer.356file                       unsigned loeg ajax_prefscode=pc_contents"a>o">pcpa>
, int ajax_prefscode=code_contents"a>o">codepa>
, int ajax_prefscode=size_contents"a>o">sizepa>
) <7o/a>ospa> class="comment"> * @author J35ohn Levn35 v⁢levn le/cpu_bua>o35a> c357L2" { <7o/a>ospa> class="comment"> * @author J35;>"><35/a>3<018/option>
  1alu35e="v358file        struct ajax_prefscode=="_samp e_contents"a>o">op_samp eL2"  *ajax_prefscode=samp e_contents"a>o">samp eL2" t <7o/a>ospa> class="comment"> * @author J359>"><359a>3<018/option>
  1alu359="v359file        int ajax_prefscode=is_kernel_contents"a>o">is_kernelL2"  = !ajax_prefscode=user_mode_contents"a>o">user_modepa>
(ajax_prefscode=regs_contents"a>o">regspa>
)t <7o/a>ospa> class="comment"> * @author J360 href="360riversoptrofile/cpu_bu360="v360file        struct ajax_prefscode=="commen_"> * @auth_contents"a>o">opcommen_"> * @authpa>
 *ajax_prefscode="> * @a_contents"a>o">"> * @apa>
 = &ajax_prefscode=__get_"> *vah_contents"a>o">__get_"> *vahpa>
(ajax_prefscode=="_"> * @auth_contents"a>o">op_"> * @authpa>
)t <7o/a>ospa> class="comment"> * @author J36a href="36driversoptrofile/cpu_bu36ffer36#L2"  <7o/a>ospa> class="comment"> * @author J36_buffer.36co/spa>
  * @a_contents"a>o">"> * @apa>
-> c/cjax_prefscode=samp e_rece cld_contents"a>o">samp e_rece cldL2" ++t <7o/a>ospa> class="comment"> * @author J36 href="d36riversoptrofile/cpu_buf36fer.363L2"  <7o/a>ospa> class="comment"> * @author J36opyright36 2002-2009 OProfile aut36hors364file        ad"vL2" class="line" namcno backtraces for samp es with data =/"vL7">< <7o/a>ospa> class="comment"> * @author J36ead the 36file COPYINGo/spa>
 o">op_add_codepa>
(ajax_prefscode="> * @a_contents"a>o">"> * @apa>
, 0, ajax_prefscode=is_kernel_contents"a>o">is_kernelL2" , ajax_prefscode="urrne"_contents"a>o">"urrne""v" )) <7o/a>ospa> class="comment"> * @author J36 href="d3rriversoptrofile/cpu_buf3ffer.366file                goto ajax_prefscode=fail_contents"a>o">failpa>
t <7o/a>ospa> class="comment"> * @author J36ohn Levn36 v⁢levn le/cpu_bua>o36a> c367L2"  <7o/a>ospa> class="comment"> * @author J36;>"><36/a>3<018/option>
  1alu36e="v368file        ajax_prefscode=samp e_contents"a>o">samp eL2"  = ajax_prefscode=op_"> * @auth_write_claervl_contents"a>o">op_"> * @auth_write_claervlpa>
(ajax_prefscode= idry_contents"a>o"> idrypa>
, ajax_prefscode=size_contents"a>o">sizepa>
 + 2)t <7o/a>ospa> class="comment"> * @author J369>"><369a>3<018/option>
  1alu369="v369file        if (!ajax_prefscode=samp e_contents"a>o">samp eL2" ) <7o/a>ospa> class="comment"> * @author J370 href="370riversoptrofile/cpu_bu370="v370file                goto ajax_prefscode=fail_contents"a>o">failpa>
t <7o/a>ospa> class="comment"> * @author J37a href="37driversoptrofile/cpu_bu37ffer371file        ajax_prefscode=samp e_contents"a>o">samp eL2" -> c/cjax_prefscode=eip_contents"a>o">eippa>
 = ajax_prefscode=ESCAPE_CODE_contents"a>o">ESCAPE_CODEpa>
t <7o/a>ospa> class="comment"> * @author J37_buffer.37co/spa>
 o">samp eL2" -> c/cjax_prefscode=evne"_contents"a>o"> vne""v"  = 0;              ad"vL2" class="line" namcno flags =/"vL7">< <7o/a>ospa> class="comment"> * @author J37 href="d37riversoptrofile/cpu_buf37fer.373L2"  <7o/a>ospa> class="comment"> * @author J37opyright37 2002-2009 OProfile aut37hors374file        ajax_prefscode=op_"> * @auth_add_data_contents"a>o">op_"> * @auth_add_datapa>
(ajax_prefscode= idry_contents"a>o"> idrypa>
, ajax_prefscode=code_contents"a>o">codepa>
)t <7o/a>ospa> class="comment"> * @author J37ead the 37file COPYINGo/spa>
  * @auth_add_data_contents"a>o">op_"> * @auth_add_datapa>
(ajax_prefscode= idry_contents"a>o"> idrypa>
, ajax_prefscode=pc_contents"a>o">pcpa>
)t <7o/a>ospa> class="comment"> * @author J37 href="d37riversoptrofile/cpu_buf37fer.376L2"  <7o/a>ospa> class="comment"> * @author J37ohn Levn3  v⁢levn le/cpu_bua>o3aa> c377file        ue="v"t <7o/a>ospa> class="comment"> * @author J37;>"><37/a>3<018/option>
  1alu37e="v378L2"  <7o/a>ospa> class="comment"> * @author J379>"><379a>3<018/option>
  1alu379="v379L2" ajax_prefscode=fail_contents"a>o">failpa>
: <7o/a>ospa> class="comment"> * @author J380 href="380riversoptrofile/cpu_bu380="v380file        ajax_prefscode= idry_contents"a>o"> idrypa>
-> c/cjax_prefscode=evne"_contents"a>o"> vne""v"  = ajax_prefscode=NULL_contents"a>o">NULLpa>
t <7o/a>ospa> class="comment"> * @author J38a href="38driversoptrofile/cpu_bu38ffer381file        ajax_prefscode="> * @a_contents"a>o">"> * @apa>
-> c/cjax_prefscode=samp e_lost_oclaflow_contents"a>o">samp e_lost_oclaflowpa>
++t <7o/a>ospa> class="comment"> * @author J38_buffer.38co/spa>
  * @author J38 href="d38riversoptrofile/cpu_buf38fer.383L2"  <7o/a>ospa> class="comment"> * @author J38opyright38 2002-2009 OProfile aut38hors384L2" int ajax_prefscode=opcommen_add_data_contents"a>o">opcommen_add_datapa>
(struct ajax_prefscode=="_ idry_contents"a>o">op_ idrypa>
 *ajax_prefscode= idry_contents"a>o"> idrypa>
, unsigned loeg ajax_prefscode=val_contents"a>o">valL2" ) <7o/a>ospa> class="comment"> * @author J38ead the 38file COPYINGo/spa>
 ospa> class="comment"> * @author J38 href="d38riversoptrofile/cpu_buf38fer.386file        if (!ajax_prefscode= idry_contents"a>o"> idrypa>
-> c/cjax_prefscode=evne"_contents"a>o"> vne""v" ) <7o/a>ospa> class="comment"> * @author J38ohn Levn38 v⁢levn le/cpu_bua>o38a> c387file                ue="v">0t <7o/a>ospa> class="comment"> * @author J38;>"><3//a>3<018/option>
  1alu3ee="v388file        ue="v">ajax_prefscode=op_"> * @auth_add_data_contents"a>o">op_"> * @auth_add_datapa>
(ajax_prefscode= idry_contents"a>o"> idrypa>
, ajax_prefscode=val_contents"a>o">valL2" )t <7o/a>ospa> class="comment"> * @author J389>"><389a>3<018/option>
  1alu389="v389L2" } <7o/a>ospa> class="comment"> * @author J390 href="390riversoptrofile/cpu_bu390="v390L2"  <7o/a>ospa> class="comment"> * @author J39a href="39driversoptrofile/cpu_bu39ffer39#L2" int ajax_prefscode=opcommen_add_data6 2002-2009"a>o">opcommen_add_data64file(struct ajax_prefscode=="_ idry_contents"a>o">op_ idrypa>
 *ajax_prefscode= idry_contents"a>o"> idrypa>
, ajax_prefscode=u6 2002-2009"a>o">u64file ajax_prefscode=val_contents"a>o">valL2" ) <7o/a>ospa> class="comment"> * @author J39_buffer.39co/spa>
 ospa> class="comment"> * @author J39 href="d39riversoptrofile/cpu_buf39fer.393file        if (!ajax_prefscode= idry_contents"a>o"> idrypa>
-> c/cjax_prefscode=evne"_contents"a>o"> vne""v" ) <7o/a>ospa> class="comment"> * @author J39opyright39 2002-2009 OProfile aut39hors394file                ue="v">0t <7o/a>ospa> class="comment"> * @author J39ead the 39file COPYINGo/spa>
  * @auth_get_size_contents"a>o">="_"> * @auth_get_sizepa>
(ajax_prefscode= idry_contents"a>o"> idrypa>
) < 2) <7o/a>ospa> class="comment"> * @author J39 href="d39riversoptrofile/cpu_buf39fer.396file                
	  >
  v3.1013 
 	 
                 *  assfunction ue="v"s 0  o indicate a  oo smallcpu_buu31 > 
 	 <39/a>3<018/option>
  1alu39e="v3910154
	  >
  v3.1013< <5o/a>ospa> class="comment"> * @remark R399>"><399a>3<018/option>
  1alu399="v399L2" lue="v321.31.3<1
	  >
                 */"vL7">< <7o/a>ospa> class="comment"> * @author J400 href="400riversoptrofile/cpu_bu400="v400file                ue="v">0t <7o/a>ospa> class="comment"> * @author J40a href="40driversoptrofile/cpu_bu401="v401file        if (!ajax_prefscode=op_"> * @auth_add_data_contents"a>o">op_"> * @auth_add_datapa>
(ajax_prefscode= idry_contents"a>o"> idrypa>
, (ajax_prefscode=u3co/spa>
 <"a>o">u3ofile)ajax_prefscode=val_contents"a>o">valL2" )) <7o/a>ospa> class="comment"> * @author J40_buffer.40co/spa>
 0t <7o/a>ospa> class="comment"> * @author J403buffer.40riversoptrofile/cpu_buf403="v403file        ue="v">ajax_prefscode=op_"> * @auth_add_data_contents"a>o">op_"> * @auth_add_datapa>
(ajax_prefscode= idry_contents"a>o"> idrypa>
, (ajax_prefscode=u3co/spa>
 <"a>o">u3ofile)(ajax_prefscode=val_contents"a>o">valL2"  > c/> c/ 32))t <7o/a>ospa> class="comment"> * @author J40opyright40 2002-2009 OProfile aut404="v40spa>
} <7o/a>ospa> class="comment"> * @author J40ead the 40file COPYINGo/spa>
 ospa> class="comment"> * @author J406ad the 40riversoptrofile/cpu_buf406="v40L7" iint ajax_prefscode=opcommen_write_"linit_contents"a>o">opcommen_write_"linitfile(struct ajax_prefscode=="_ idry_contents"a>o">op_ idrypa>
 *ajax_prefscode= idry_contents"a>o"> idrypa>
) <7o/a>ospa> class="comment"> * @author J407ad the 40 v⁢levn le/cpu_bua>o407="v407L2" { <7o/a>ospa> class="comment"> * @author J40;>"><40/a>3<018/option>
  1alu408="v408file        if (!ajax_prefscode= idry_contents"a>o"> idrypa>
-> c/cjax_prefscode=evne"_contents"a>o"> vne""v" ) <7o/a>ospa> class="comment"> * @author J409>"><409a>3<018/option>
  1alu409="v409file                ue="v">-ajax_prefscode=EINVAL_contents"a>o">EINVALpa>
t <7o/a>ospa> class="comment"> * @author J410 href="4d0riversoptrofile/cpu_bu4f0="v410file        ue="v">ajax_prefscode=op_"> * @auth_write_"linit_contents"a>o">op_"> * @auth_write_"linitpa>
(ajax_prefscode= idry_contents"a>o"> idrypa>
)t <7o/a>ospa> class="comment"> * @author J41a href="4ddriversoptrofile/cpu_bu4f1="v411file} <7o/a>ospa> class="comment"> * @author J41_buffer.41co/spa>
 ospa> class="comment"> * @author J41 href="d41riversoptrofile/cpu_buf41fer.413L2" void ajax_prefscode=opcommen_add_pc_contents"a>o">opcommen_add_pcpa>
(unsigned loeg ajax_prefscode=pc_contents"a>o">pcpa>
, int ajax_prefscode=is_kernel_contents"a>o">is_kernelL2" , unsigned loeg ajax_prefscode=evne"_contents"a>o"> vne""v" ) <7o/a>ospa> class="comment"> * @author J41opyright41 2002-2009 OProfile aut41hors414file{ <7o/a>ospa> class="comment"> * @author J41ead the 41file COPYINGo/spa>
  * @auth_contents"a>o">opcommen_"> * @authpa>
 *ajax_prefscode="> * @a_contents"a>o">"> * @apa>
 = &ajax_prefscode=__get_"> *vah_contents"a>o">__get_"> *vahpa>
(ajax_prefscode=="_"> * @auth_contents"a>o">op_"> * @authpa>
)t <7o/a>ospa> class="comment"> * @author J416ad the 41riversoptrofile/cpu_buf41fer.416file        ajax_prefscode=log_samp e_contents"a>o">log_samp epa>
(ajax_prefscode="> * @a_contents"a>o">"> * @apa>
, ajax_prefscode=pc_contents"a>o">pcpa>
, 0, ajax_prefscode=is_kernel_contents"a>o">is_kernelL2" , ajax_prefscode=evne"_contents"a>o"> vne""v" , ajax_prefscode=NULL_contents"a>o">NULLpa>
)t <7o/a>ospa> class="comment"> * @author J41ohn Levn41 v⁢levn le/cpu_bua>o41a> c417file} <7o/a>ospa> class="comment"> * @author J41;>"><41/a>3<018/option>
  1alu41e="v418L2"  <7o/a>ospa> class="comment"> * @author J419>"><419a>3<018/option>
  1alu419="v419filevoid ajax_prefscode=opcommen_add_trace_contents"a>o">opcommen_add_tracepa>
(unsigned loeg ajax_prefscode=pc_contents"a>o">pcpa>
) <7o/a>ospa> class="comment"> * @author J420 href="420riversoptrofile/cpu_bu420="v420file{ <7o/a>ospa> class="comment"> * @author J42a href="42driversoptrofile/cpu_bu42ffer421file        struct ajax_prefscode=="commen_"> * @auth_contents"a>o">opcommen_"> * @authpa>
 *ajax_prefscode="> * @a_contents"a>o">"> * @apa>
 = &ajax_prefscode=__get_"> *vah_contents"a>o">__get_"> *vahpa>
(ajax_prefscode=="_"> * @auth_contents"a>o">op_"> * @authpa>
)t <7o/a>ospa> class="comment"> * @author J42_buffer.4cco/spa>
 ospa> class="comment"> * @author J42 href="d42riversoptrofile/cpu_buf42fer.423file        if (!ajax_prefscode="> * @a_contents"a>o">"> * @apa>
-> c/cjax_prefscode=tracing_contents"a>o">tracingL2" ) <7o/a>ospa> class="comment"> * @author J42opyright42 2002-2009 OProfile aut42hors424file                ue="v"t <7o/a>ospa> class="comment"> * @author J42ead the 42file COPYINGo/spa>
 ospa> class="comment"> * @author J42 href="d42riversoptrofile/cpu_buf42fer.426file        a	  >
  v3.1013 
 	 
         * broken fr_bucc h g
 	 vL2eip with  asssame value as vLcpu_buu31 > 
 	 <42/a>3<018/option>
  1alu42e="v4210154
	  >
  v3.1013< <7o/a>ospa> class="comment"> * @author J429>"><429a>3<018/option>
  1alu429="v429L2" lue="v321.31.3<1
	  >
         */"vL7">< <7o/a>ospa> class="comment"> * @author J430 href="430riversoptrofile/cpu_bu430="v430file        if (ajax_prefscode=pc_contents"a>o">pcpa>
 == ajax_prefscode=ESCAPE_CODE_contents"a>o">ESCAPE_CODEpa>
) <7o/a>ospa> class="comment"> * @author J43a href="43driversoptrofile/cpu_bu43ffer431file                goto ajax_prefscode=fail_contents"a>o">failpa>
t <7o/a>ospa> class="comment"> * @author J4 _buffer.43co/spa>
 ospa> class="comment"> * @author J4  href="d4rriversoptrofile/cpu_buf4ffer.433file        if (ajax_prefscode=="_add_samp e_contents"a>o">op_add_samp epa>
(ajax_prefscode="> * @a_contents"a>o">"> * @apa>
, ajax_prefscode=pc_contents"a>o">pcpa>
, 0)) <7o/a>ospa> class="comment"> * @author J4 opyright43 2002-2009 OProfile aut43hors434file                goto ajax_prefscode=fail_contents"a>o">failpa>
t <7o/a>ospa> class="comment"> * @author J4 ead the 43file COPYINGo/spa>
 ospa> class="comment"> * @author J43 href="d43riversoptrofile/cpu_buf43fer.436file        ue="v"t <7o/a>ospa> class="comment"> * @author J43ohn Levn43 v⁢levn le/cpu_bua>o43a> c437fileajax_prefscode=fail_contents"a>o">failpa>
: <7o/a>ospa> class="comment"> * @author J43;>"><43/a>3<018/option>
  1alu43e="v438file        ajax_prefscode="> * @a_contents"a>o">"> * @apa>
-> c/cjax_prefscode=tracing_contents"a>o">tracingL2"  = 0t <7o/a>ospa> class="comment"> * @author J439>"><439a>3<018/option>
  1alu439="v439file        ajax_prefscode="> * @a_contents"a>o">"> * @apa>
-> c/cjax_prefscode=backtrace_abortld_contents"a>o">backtrace_abortldpa>
++t <7o/a>ospa> class="comment"> * @author J4o0 href="440riversoptrofile/cpu_bu440="v440file        ue="v"t <7o/a>ospa> class="comment"> * @author J4oa href="44driversoptrofile/cpu_bu44ffer441file} <7o/a>ospa> class="comment"> * @author J44_buffer.44co/spa>
 ospa> class="comment"> * @author J44 href="d44riversoptrofile/cpu_buf44fer.44L4" id"vL4" class="line" naamcpu_buu31 > 
 	 < <5o/a>ospa> class="comment"> * @remark R44ead the 44file COPYINGo/spa>
 < <5o/a>ospa> class="comment"> * @remark R44 href="d44riversoptrofile/cpu_buf44fer.44L7" id"vL7" class="line" nammcpu_buu31 > 
 	 
 * By uslegsschedule_delayed_work_on and  asnsschedule_delayed_workcpu_buu31 > 
 	 <44/a>3<018/option>
  1alu44e="v4410154
	  >
  v3.1013 
 	 <449a>3<018/option>
  1alu449="v449L2" lue="v321.31.3<1
	  >
  /"vL7">< <7o/a>ospa> class="comment"> * @author J450 href="450riversoptrofile/cpu_bu450="v450filest	  > void ajax_prefscode=wq_sync* @auth_contents"a>o">wq_sync* @authfile(struct ajax_prefscode=work_struct_contents"a>o">work_structpa>
 *ajax_prefscode=work_contents"a>o">workpa>
) <7o/a>ospa> class="comment"> * @author J45a href="45driversoptrofile/cpu_bu45ffer45#L2" { <7o/a>ospa> class="comment"> * @author J45_buffer.45co/spa>
  * @auth_contents"a>o">opcommen_"> * @authpa>
 *ajax_prefscode=b_contents"a>o">bL2"  = <7o/a>ospa> class="comment"> * @author J45 href="d45riversoptrofile/cpu_buf45fer.453file                ajax_prefscode="ontafilr_oa_contents"a>o">"ontafilr_oapa>
(ajax_prefscode=work_contents"a>o">workpa>
, struct ajax_prefscode=="commen_"> * @auth_contents"a>o">opcommen_"> * @authpa>
, ajax_prefscode=work_contents"a>o">workpa>
.ajax_prefscode=work_contents"a>o">workpa>
)t <7o/a>ospa> class="comment"> * @author J45opyright45 2002-2009 OProfile aut45hors454file        if (ajax_prefscode=b_contents"a>o">bL2" -> c/cjax_prefscode="> _contents"a>o">"> file != ajax_prefscode=smp_"cocessor_id_contents"a>o">smp_"cocessor_idpa>
() && !ajax_prefscode="> *on OProfontents"a>o">"> *on OPrpa>
(ajax_prefscode=b_contents"a>o">bL2" -> c/cjax_prefscode="> _contents"a>o">"> file)) { <7o/a>ospa> class="comment"> * @author J45ead the 4ffile COPYINGo/spa>
 o">"ancel_delayed_workpa>
(&ajax_prefscode=b_contents"a>o">bL2" -> c/cjax_prefscode=work_contents"a>o">workpa>
)t <7o/a>ospa> class="comment"> * @author J45 href="d45riversoptrofile/cpu_buf45fer.456file                ue="v"t <7o/a>ospa> class="comment"> * @author J45ohn Levn45 v⁢levn le/cpu_bua>o45a> c457file        } <7o/a>ospa> class="comment"> * @author J45;>"><45/a>3<018/option>
  1alu45e="v458file        ajax_prefscode=sync* @auth_contents"a>o">sync* @authfile(ajax_prefscode=b_contents"a>o">bL2" -> c/cjax_prefscode="> _contents"a>o">"> file)t <7o/a>ospa> class="comment"> * @author J459>"><459a>3<018/option>
  1alu459="v459L2"  <7o/a>ospa> class="comment"> * @author J460 href="460riversoptrofile/cpu_bu460="v460file        ad"vL2" class="line" namcdoh't re-add  asswork if we're shuttlegsdown  /"vL7">< <7o/a>ospa> class="comment"> * @author J46a href="46driversoptrofile/cpu_bu46ffer461file        if (ajax_prefscode=work_enablld_contents"a>o">work_enablldpa>
) <7o/a>ospa> class="comment"> * @author J46_buffer.46co/spa>
 o">schedule_delayed_workcp>
(&ajax_prefscode=b_contents"a>o">bL2" -> c/cjax_prefscode=work_contents"a>o">workpa>
, ajax_prefscode=DEFAULT_TIMER_EXPIRE_contents"a>o">DEFAULT_TIMER_EXPIREfile)t <7o/a>ospa> class="comment"> * @author J46 href="d46riversoptrofile/cpu_buf46fer.463pa>
} <7o/a>ospa> class="comment"> * @author J46opyright46 2002-2009 OProfile aut46hors464file





Tassoriginal LXR software by  ass<7o/a>osphttp://sourcsforge.net/projects/lxh_>LXR ="liunitypa>
,  ais  xperiine"al clasion by <7o/a>ospmailto:lxh@ OPux.no">lxh@ OPux.nopa>
.


lxh. OPux.no kindly hosted by <7o/a>osphttp://www.redpill- OPpro.no">Redpill LOPpro ASpa>
, providr= of LOPux /0"sultlegsand operations aervices since 1995.