def METHOD_NAME(env,tb):
	global blocks
	if blocks >= 10000 and not panda.in_kernel(env):
		cr3 = env.env_ptr.cr[3]
		eip = env.env_ptr.eip
		information = location(cr3,eip)
		if information:
			print(information)
		callers = panda.ffi.new("target_ulong[10]")
		num = panda.plugins["callstack_instr"].get_callers(callers, 10, env)
		for i in range(num):
			information = location(cr3,callers[i])
			if information:
				if i == 0: 
					print("Callers:")
				print(f"Stack #{i}: {information}")
		blocks = 0
	blocks += 1