On Friday at Fenway Park in Boston, Pearl Jam dedicated its cover of “Draw the Line” to Aerosmith guitarist Joe Perry, who less than a month ago collapsed on stage while on tour with his other band, Hollywood Vampires.

They also brought back the Bob Dylan song “Masters of War,” which they hadn’t played since 2008.

On Sunday the band was joined for “Draw The Line” by a different Aerosmith member, bassist Tom Hamilton.

It was the first time Eddie Vedder and company had performed the title track to the 1977 Aerosmith album.