This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

initialized globals


Hi -

The "global" declaration syntax now permits compact initialization of
variables.  This should be useful for tapsets that transcribe macro
values en masse:

  global MASK_1 = 1, MASK_2 = 2

It only accepts numeric or string literals on the right hand side.

- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]