How to check annotation value (knob) in auto-tuning process

I am looking into the auto tuning process.

Can you tell me what code I need to write to check the annotation applied at each transform step during auto-tuning?

In more detail, when I have a json format log file like the one below, I want to get values like [3, "local”], [3, 0, 1, [1, 1, 1, 1], 1].

["CHW", 3, "local"], 
["SP", 3, 0, 1, [1, 1, 1, 1], 1], 
["SP", 3, 5, 28, [2, 2, 1, 7], 1], 
["SP", 3, 10, 28, [1, 4, 1, 1], 1], 
…

also I want to know about get pass (primitive) and knobs from State state.