O'Reilly logo

Trace and Log Analysis: A Pattern Reference for Diagnostics and Anomaly Detection by Software Diagnostics Institute, Dmitry Vostokov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

M

 

Macrofunction

Macrofunction is a single semantic unit of several trace messages where individual messages serve the role of microfunctions. We borrowed this idea and distinction from functionalist linguistics. An example would be a software trace fragment where messages log an attempt to update a database:

# Module PID TID Time Message​[...]​42582 DBClient 5492 9476 11:04:33.398 Opening connection​[...]​42585 DBClient 5492 9476 11:04:33.398 Sending SQL command​[...]​42589 DBServer 6480 10288 11:04:33.399 Executing SQL command​[...]​42592 DBClient 5492 9476 11:04:33.400 Closing connection​[...]

These Macrofunctions need not be from the same ATID (Glued Activity) in the traditional sense like in the example above unless we form Adjoint Threads

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required