The trace of -functions on an irregular subset